This commit is contained in:
parent
dbbe9e7970
commit
261bfcce1e
@ -10,6 +10,7 @@
|
||||
#define CHAR_MERMAIDMAN 6
|
||||
#define CHAR_BARNACLEBOY 7
|
||||
#define CHAR_JACKCUSTARD 8
|
||||
#define CHAR_GARY 8
|
||||
|
||||
#define ANIM_QUIET 0
|
||||
#define ANIM_TALKING 1
|
||||
|
25
data/Scripts/fma_ch2_00.scr
Normal file
25
data/Scripts/fma_ch2_00.scr
Normal file
@ -0,0 +1,25 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_MERMAIDMAN,STR__INGAME__FMA_C2_MM_BB0);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
_setText(CHAR_BARNACLEBOY,STR__INGAME__FMA_C2_MM_BB0);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
stop;
|
17
data/Scripts/fma_ch2_01.scr
Normal file
17
data/Scripts/fma_ch2_01.scr
Normal file
@ -0,0 +1,17 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_SPONGEBOB,STR__INGAME__FMA_C2_SB0);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
stop;
|
17
data/Scripts/fma_ch2_02.scr
Normal file
17
data/Scripts/fma_ch2_02.scr
Normal file
@ -0,0 +1,17 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_BARNACLEBOY,STR__INGAME__FMA_C2_BB0);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
stop;
|
18
data/Scripts/fma_ch2_03.scr
Normal file
18
data/Scripts/fma_ch2_03.scr
Normal file
@ -0,0 +1,18 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_SPONGEBOB,STR__INGAME__FMA_C2_SB1);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
|
||||
stop;
|
17
data/Scripts/fma_ch3_00.scr
Normal file
17
data/Scripts/fma_ch3_00.scr
Normal file
@ -0,0 +1,17 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_SPONGEBOB,STR__INGAME__FMA_C3_SB0);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
stop;
|
33
data/Scripts/fma_ch3_01.scr
Normal file
33
data/Scripts/fma_ch3_01.scr
Normal file
@ -0,0 +1,33 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_BARNACLEBOY,STR__INGAME__FMA_C3_BB0);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
_setText(CHAR_SPONGEBOB,STR__INGAME__FMA_C3_SB1);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
_setText(CHAR_BARNACLEBOY,STR__INGAME__FMA_C3_BB1);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
stop;
|
17
data/Scripts/fma_ch3_02.scr
Normal file
17
data/Scripts/fma_ch3_02.scr
Normal file
@ -0,0 +1,17 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_SPONGEBOB,STR__INGAME__FMA_C3_SB2);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
stop;
|
18
data/Scripts/fma_ch4_00.scr
Normal file
18
data/Scripts/fma_ch4_00.scr
Normal file
@ -0,0 +1,18 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_SPONGEBOB,STR__INGAME__FMA_C4_SB0);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
|
||||
stop;
|
41
data/Scripts/fma_ch4_01.scr
Normal file
41
data/Scripts/fma_ch4_01.scr
Normal file
@ -0,0 +1,41 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_MERMAIDMAN,STR__INGAME__FMA_C4_MM_BB0);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
_setText(CHAR_BARNACLEBOY,STR__INGAME__FMA_C4_MM_BB0);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
_setText(CHAR_SPONGEBOB,STR__INGAME__FMA_C4_SB1);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
_setText(CHAR_BARNACLEBOY,STR__INGAME__FMA_C4_BB0);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
stop;
|
17
data/Scripts/fma_ch5_00.scr
Normal file
17
data/Scripts/fma_ch5_00.scr
Normal file
@ -0,0 +1,17 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_SPONGEBOB,STR__INGAME__FMA_C5_SB0);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
stop;
|
17
data/Scripts/fma_ch5_01.scr
Normal file
17
data/Scripts/fma_ch5_01.scr
Normal file
@ -0,0 +1,17 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_BARNACLEBOY,STR__INGAME__FMA_C5_BB0);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
stop;
|
17
data/Scripts/fma_ch5_02.scr
Normal file
17
data/Scripts/fma_ch5_02.scr
Normal file
@ -0,0 +1,17 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_SPONGEBOB,STR__INGAME__FMA_C5_SB1);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
stop;
|
17
data/Scripts/fma_ch6_00.scr
Normal file
17
data/Scripts/fma_ch6_00.scr
Normal file
@ -0,0 +1,17 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_SPONGEBOB,STR__INGAME__FMA_C6_SB0);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
stop;
|
17
data/Scripts/fma_ch6_01.scr
Normal file
17
data/Scripts/fma_ch6_01.scr
Normal file
@ -0,0 +1,17 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_SPONGEBOB,STR__INGAME__FMA_C6_SB1);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
stop;
|
33
data/Scripts/fma_ch6_02.scr
Normal file
33
data/Scripts/fma_ch6_02.scr
Normal file
@ -0,0 +1,33 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_BARNACLEBOY,STR__INGAME__FMA_C6_BB0);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
_setText(CHAR_SPONGEBOB,STR__INGAME__FMA_C6_SB2);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
_setText(CHAR_BARNACLEBOY,STR__INGAME__FMA_C6_BB1);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
stop;
|
18
data/Scripts/fma_ch6_03.scr
Normal file
18
data/Scripts/fma_ch6_03.scr
Normal file
@ -0,0 +1,18 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
_setText(CHAR_BARNACLEBOY,STR__INGAME__FMA_C6_BB_MM0);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
|
||||
stop;
|
@ -1,37 +0,0 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
|
||||
#include data/scripts/defs/charanim.scr
|
||||
#include data/scripts/defs/items.scr
|
||||
#include data/scripts/defs/response.scr
|
||||
#include data/scripts/defs/trans.scr
|
||||
|
||||
|
||||
do
|
||||
{
|
||||
_setText(CHAR_JACKCUSTARD,STR__INGAME__SANDY__TEST1);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
_setText(CHAR_SANDY,STR__INGAME__SANDY__TEST2);
|
||||
_setResponseOptions(QUESTION_OK);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
|
||||
_setText(CHAR_SPONGEBOB,STR__INGAME__SPONGEBOB__TEST3);
|
||||
_setResponseOptions(QUESTION_YES_NO);
|
||||
do
|
||||
{
|
||||
pause;
|
||||
}
|
||||
while(_getResponse()==ANSWER_NONE);
|
||||
}
|
||||
while(_getResponse()!=ANSWER_YES);
|
||||
|
||||
stop;
|
@ -1,73 +0,0 @@
|
||||
#include data/scripts/defs/defs.scr
|
||||
#include data/scripts/defs/charanim.scr
|
||||
|
||||
#include out/usa/include/sprites.h
|
||||
|
||||
|
||||
/*
|
||||
_setCharacterAnimation(CHAR_SPONGEBOB,ANIM_QUIET);
|
||||
_setText(123);
|
||||
pause;
|
||||
*/
|
||||
|
||||
|
||||
#define x $tmp1
|
||||
#define y $tmp2
|
||||
#define vx $tmp3
|
||||
#define vy $tmp4
|
||||
#define velocity 5
|
||||
|
||||
x=100;
|
||||
y=100;
|
||||
vx=velocity;
|
||||
vy=velocity;
|
||||
while(1==1)
|
||||
{
|
||||
// Readout for fps :)
|
||||
$tmp0=_getFrameTime();
|
||||
if($tmp0>10)$tmp0=10;
|
||||
$tmp5=50;
|
||||
do{
|
||||
_drawSprite(FRM__BUTU,$tmp5,50,0);
|
||||
$tmp5=$tmp5+20;
|
||||
$tmp0=$tmp0-1;
|
||||
}while($tmp0>0);
|
||||
|
||||
|
||||
// Bouncy thing
|
||||
_drawSprite(FRM__BUTC,x,y,100);
|
||||
$tmp0=_getFrameTime();
|
||||
do
|
||||
{
|
||||
x=x+vx;
|
||||
if(x>512)
|
||||
{
|
||||
vx=0-velocity;
|
||||
x=x-velocity;
|
||||
}
|
||||
else if(x<0)
|
||||
{
|
||||
vx=velocity;
|
||||
x=x+velocity;
|
||||
}
|
||||
|
||||
y=y+vy;
|
||||
if(y>256)
|
||||
{
|
||||
vy=0-velocity;
|
||||
y=y-velocity;
|
||||
}
|
||||
else if(y<0)
|
||||
{
|
||||
vy=velocity;
|
||||
y=y+velocity;
|
||||
}
|
||||
$tmp0=$tmp0-1;
|
||||
}
|
||||
while($tmp0>0);
|
||||
|
||||
|
||||
// End of frame..
|
||||
pause;
|
||||
}
|
||||
stop;
|
Loading…
Reference in New Issue
Block a user