This commit is contained in:
parent
b1e83f6be9
commit
2e8dfb4f5b
17
data/Scripts/ch1l2_01.scr
Normal file
17
data/Scripts/ch1l2_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_SANDY,STR__INGAME__CH1__L2__SANDY1);
|
||||||
|
_setResponseOptions(QUESTION_OK);
|
||||||
|
do
|
||||||
|
{
|
||||||
|
pause;
|
||||||
|
}
|
||||||
|
while(_getResponse()==ANSWER_NONE);
|
||||||
|
|
||||||
|
stop;
|
17
data/Scripts/ch1l2_02.scr
Normal file
17
data/Scripts/ch1l2_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_SANDY,STR__INGAME__CH1__L2__SANDY2);
|
||||||
|
_setResponseOptions(QUESTION_OK);
|
||||||
|
do
|
||||||
|
{
|
||||||
|
pause;
|
||||||
|
}
|
||||||
|
while(_getResponse()==ANSWER_NONE);
|
||||||
|
|
||||||
|
stop;
|
17
data/Scripts/ch1l2_03.scr
Normal file
17
data/Scripts/ch1l2_03.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_SANDY,STR__INGAME__CH1__L2__SANDY3);
|
||||||
|
_setResponseOptions(QUESTION_OK);
|
||||||
|
do
|
||||||
|
{
|
||||||
|
pause;
|
||||||
|
}
|
||||||
|
while(_getResponse()==ANSWER_NONE);
|
||||||
|
|
||||||
|
stop;
|
42
source/friend/fsandy.cpp
Normal file
42
source/friend/fsandy.cpp
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
/*=========================================================================
|
||||||
|
|
||||||
|
fsandy.cpp
|
||||||
|
|
||||||
|
Author: CRB
|
||||||
|
Created:
|
||||||
|
Project: Spongebob
|
||||||
|
Purpose:
|
||||||
|
|
||||||
|
Copyright (c) 2000 Climax Development Ltd
|
||||||
|
|
||||||
|
===========================================================================*/
|
||||||
|
|
||||||
|
#ifndef __FRIEND_FSANDY_H__
|
||||||
|
#include "friend\fsandy.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef __UTILS_HEADER__
|
||||||
|
#include "utils\utils.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GAME_CONVO_H__
|
||||||
|
#include "game\convo.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef __ANIM_SANDY_HEADER__
|
||||||
|
#include <ACTOR_SANDY_Anim.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
void CNpcSandyFriend::startConderversation()
|
||||||
|
{
|
||||||
|
if ( m_data[this->m_type].canTalk )
|
||||||
|
{
|
||||||
|
if( !CConversation::isActive() )
|
||||||
|
{
|
||||||
|
CConversation::trigger( SCRIPTS_CH1L2_03_DAT );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user