This commit is contained in:
Paul 2001-01-10 17:27:12 +00:00
parent bdce9e6b57
commit 69cacf1ddb
13 changed files with 554 additions and 28 deletions

View file

@ -1,8 +1,9 @@
// Question and answer responses
// Questions
#define QUESTION_OK 0
#define QUESTION_YES_NO 1
#define QUESTION_NONE 0
#define QUESTION_OK 1
#define QUESTION_YES_NO 2
// Answers
#define ANSWER_NONE 0

View file

@ -3,14 +3,35 @@
#include data/scripts/defs/charanim.scr
#include data/scripts/defs/items.scr
#include data/scripts/defs/response.scr
#include data/scripts/defs/text.scr
#include data/scripts/defs/trans.scr
_setCharacterAnimation(CHAR_SPONGEBOB,ANIM_QUIET);
_setText(C1_L1__KARATE_MOVES__SANDY_1);
_setResponseOptions(QUESTION_OK);
do
{
pause;
_setText(CHAR_SANDY,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_NONE);
while(_getResponse()!=ANSWER_YES);
stop;

View file

@ -25,6 +25,7 @@ while(1==1)
{
// Readout for fps :)
$tmp0=_getFrameTime();
if($tmp0>10)$tmp0=10;
$tmp5=50;
do{
_drawSprite(FRM__BUTU,$tmp5,50,0);