Difference between revisions of "User:RasqualTwilight/PS2 RealLive To Kepago Mapping"

From Baka-Tsuki
Jump to navigation Jump to search
(_EHNB, SEL, _FCAL, _FRET)
(_WTK2, _WTK3)
Line 33: Line 33:
 
|style="background:#ececec;"| <div id="_WTKY">_WTKY</div>
 
|style="background:#ececec;"| <div id="_WTKY">_WTKY</div>
 
| pause
 
| pause
| Wait for key (See also: [[#_WTTM|_WTTM]])
+
| Wait for key (See also: [[#_WTTM|_WTTM]], [[#_WTK2|_WTK2]], [#_WTK3|_WTK3]]))
 
|style="background:#f1fff1;"| <code>_WTKY;{{ddarr}}pause</code>
 
|style="background:#f1fff1;"| <code>_WTKY;{{ddarr}}pause</code>
 
|-
 
|-
Line 86: Line 86:
 
''Note, ret is not the proper way to return from a function call. It should only be used to return from a sub, but the PS2 script makes no distinction between the two.''
 
''Note, ret is not the proper way to return from a function call. It should only be used to return from a sub, but the PS2 script makes no distinction between the two.''
 
|style="background:#f1fff1;"| <code>_FRET;{{ddarr}}rtl</code>
 
|style="background:#f1fff1;"| <code>_FRET;{{ddarr}}rtl</code>
  +
|-
  +
|style="background:#ececec;"| <div id="_WTK2">_WTK2</div>
  +
| spause
  +
| Wait for key within paragraph (See also: [[#_WTKY|_WTKY]], [[#_WTK3|_WTK3]])
  +
|style="background:#f1f1ff;"| <code>_ZM7b499(残っているものは…);<br/>_WTK2;<br/>_ZM7b49a(智代に対する心許なさだ。);<br/>_WTKY;{{ddarr}}'残っているものは…'<br/>spause<br/>'智代に対する心許なさだ。'<br/>pause</code>
  +
|-
  +
|style="background:#ececec;"| <div id="_WTK3">_WTK3</div>
  +
| ''n.a.''
  +
| ¿Wait until SE has finished playing? (See also: [[#_WTKY|_WTKY]], [[#_WTK2|_WTK2]])
  +
|style="background:#f1fff1;"| <code>_WTK3();{{ddarr}}''no mapping''</code>
 
|-
 
|-
 
!style="background:#0000ff;color:white;"| Function
 
!style="background:#0000ff;color:white;"| Function

Revision as of 20:43, 25 January 2008

Mapping of functions used in PS2 RealLive Scripts

See VisualNews Gemot for more info. Original post info.

Function Kepago Description Example
_JUMP
jump Load a SEEN script _JUMP(0629);

jump(0629)
_STTI
title Set window title _STTI("6月28日(月)");

title("6月28日(月)")
_MPLY
bgmLoop Play music in loop (See also: _MFAD) _MPLY(BGM07);

bgmLoop ('BGM07')
_STBG
n.a. Set background (See also: _FADB) _STBG(BG001AN1);

strS[1000] = 'BG001AN1'
intF[1218] = 1
op<1:Sys:00210, 0>
op<1:Sys:00215, 0>
_WTKY
pause Wait for key (See also: _WTTM, _WTK2, [#_WTK3|_WTK3]])) _WTKY;

pause
_MFAD
bgmFadeout Fadeout music (See also: _MPLY) _MFAD(4000);

bgmFadeOut (4000)
_SEPL
wavPlay Play Sound Effect (See also: _SELP, _SEFD) _SEPL(poko);

wavPlay ('poko')
_DDAT
n.a. Define Date Image _DDAT(S_DTA0628);

strS[1004] = 'S_DTA0628'
_CALN
n.a. Set Calendar Number (Function provided in SEEN9053) _CALC F[1219]=0;
_CALC F[1220]=6;
_CALC F[1221]=28;
_CALC F[1222]=1;
_CALC F[1223]=1;
_CALN;

intF[1219] = 0
intF[1220] = 6
intF[1221] = 28
intF[1222] = 1
intF[1223] = 1
farcall (9053, 0)
_CLOS
msgHide Close Active Message Frame _CLOS;

msgHide()
_CLR
msgClear Clear Active Message Frame _CLR;

msgClear()
_EHNB
n.a. Hanabi Animation? [Fireworks] (Function provided in SEEN9071) _EHNB;

farcall (9071, 0)
SEL
select Multiple-Choice Select _CALC F[1200]=SEL(話す,勉強する);

intF[1200] = select ('話す', '勉強する')
_FCAL
n.a. Raw Function Call (SEEN#, function#) (See also _FRET) _FCAL(1714,00);

farcall (1714, 0)
_FRET
rtl/ret Return from Function Call (See also _FCAL)

Note, ret is not the proper way to return from a function call. It should only be used to return from a sub, but the PS2 script makes no distinction between the two.

_FRET;

rtl
_WTK2
spause Wait for key within paragraph (See also: _WTKY, _WTK3) _ZM7b499(残っているものは…);
_WTK2;
_ZM7b49a(智代に対する心許なさだ。);
_WTKY;

'残っているものは…'
spause
'智代に対する心許なさだ。'
pause
_WTK3
n.a. ¿Wait until SE has finished playing? (See also: _WTKY, _WTK2) _WTK3();

no mapping
Function Kepago Description Example