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

From Baka-Tsuki
Jump to navigation Jump to search
(_CLOS, _CLR)
(_EHNB, SEL, _FCAL, _FRET)
Line 53: Line 53:
 
|style="background:#ececec;"| <div id="_CALN">_CALN</div>
 
|style="background:#ececec;"| <div id="_CALN">_CALN</div>
 
| ''n.a.''
 
| ''n.a.''
| Set Calendar Number
+
| Set Calendar Number (Function provided in SEEN9053)
 
|style="background:#f1fff1;"| <code>_CALC F[1219]=0;<br/>_CALC F[1220]=6;<br/>_CALC F[1221]=28;<br/>_CALC F[1222]=1;<br/>_CALC F[1223]=1;<br/>_CALN;{{ddarr}}intF[1219] = 0<br/>intF[1220] = 6<br/>intF[1221] = 28<br/>intF[1222] = 1<br/>intF[1223] = 1<br/>farcall (9053, 0)</code>
 
|style="background:#f1fff1;"| <code>_CALC F[1219]=0;<br/>_CALC F[1220]=6;<br/>_CALC F[1221]=28;<br/>_CALC F[1222]=1;<br/>_CALC F[1223]=1;<br/>_CALN;{{ddarr}}intF[1219] = 0<br/>intF[1220] = 6<br/>intF[1221] = 28<br/>intF[1222] = 1<br/>intF[1223] = 1<br/>farcall (9053, 0)</code>
 
|-
 
|-
Line 65: Line 65:
 
| Clear Active Message Frame
 
| Clear Active Message Frame
 
|style="background:#f1fff1;"| <code>_CLR;{{ddarr}}msgClear()</code>
 
|style="background:#f1fff1;"| <code>_CLR;{{ddarr}}msgClear()</code>
  +
|-
 
  +
|style="background:#ececec;"| <div id="_EHNB">_EHNB</div>
 
  +
| ''n.a.''
  +
| Hanabi Animation? [Fireworks] (Function provided in SEEN9071)
  +
|style="background:#f1f1ff;"| <code>_EHNB;{{ddarr}}farcall (9071, 0)</code>
  +
|-
  +
|style="background:#ececec;"| <div id="SEL">SEL</div>
  +
| select
  +
| Multiple-Choice Select
  +
|style="background:#f1fff1;"| <code>_CALC F[1200]=SEL(話す,勉強する);{{ddarr}}intF[1200] = select ('話す', '勉強する')</code>
  +
|-
  +
|style="background:#ececec;"| <div id="_FCAL">_FCAL</div>
  +
| ''n.a.''
  +
| Raw Function Call (SEEN#, function#) (See also [[#_FRET|_FRET]])
  +
|style="background:#f1f1ff;"| <code>_FCAL(1714,00);{{ddarr}}farcall (1714, 0)</code>
  +
|-
  +
|style="background:#ececec;"| <div id="_FRET">_FRET</div>
  +
| rtl/ret
  +
| Return from Function Call (See also [[#_FCAL|_FCAL]])<br/>
  +
''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:#0000ff;color:white;"| Function
 
!style="background:#0000ff;color:white;"| Function

Revision as of 20:24, 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) _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
Function Kepago Description Example