User:RasqualTwilight/PS2 RealLive To Kepago Mapping

From Baka-Tsuki
< User:RasqualTwilight
Revision as of 20:44, 25 January 2008 by RasqualTwilight (talk | contribs) (correct syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Mapping of functions used in PS2 RealLive Scripts[edit]

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)) _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