This commit is contained in:
parent
bdce9e6b57
commit
69cacf1ddb
13 changed files with 554 additions and 28 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
; Some generic strings..
|
||||
; ---------------------------------------------------------------
|
||||
|
||||
[STR__OK]
|
||||
eng=OK
|
||||
[STR__YES]
|
||||
eng=Yes
|
||||
[STR__NO]
|
||||
|
@ -33,6 +35,8 @@ eng=NOW LOADING..
|
|||
eng=
|
||||
|
||||
|
||||
|
||||
|
||||
; ---------------------------------------------------------------
|
||||
; Front end
|
||||
; ---------------------------------------------------------------
|
||||
|
@ -100,6 +104,25 @@ eng=SFX VOLUME
|
|||
eng=SPEECH VOLUME
|
||||
|
||||
|
||||
|
||||
|
||||
; ---------------------------------------------------------------
|
||||
; Ingame text
|
||||
; All ingame text *must* be prefixed with STR__INGAME__ otherwise
|
||||
; it won't get passed to the script compiler!
|
||||
; ---------------------------------------------------------------
|
||||
|
||||
; Chapter 1 - Level 1 - Test
|
||||
[STR__INGAME__SANDY__TEST1]
|
||||
eng=Take that 'ya sorry ol' clam. Y'all need to learn some manners!
|
||||
[STR__INGAME__SANDY__TEST2]
|
||||
eng=Hold on there little square dude if you want to defend yourself you need to do this!!!!
|
||||
[STR__INGAME__SPONGEBOB__TEST3]
|
||||
eng=Did that make sense..?
|
||||
|
||||
|
||||
|
||||
|
||||
; ---------------------------------------------------------------
|
||||
; Debugging text
|
||||
; The following texts DO NOT require translation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue