This commit is contained in:
Daveo 2001-06-22 15:42:24 +00:00
parent dbbe9e7970
commit 261bfcce1e
19 changed files with 340 additions and 110 deletions

View File

@ -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

View 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;

View 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;

View 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;

View 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;

View 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;

View 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;

View 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;

View 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;

View 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;

View 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;

View 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;

View 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;

View 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;

View 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;

View 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;

View 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;

View File

@ -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;

View File

@ -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;