This commit is contained in:
Paul 2001-07-18 16:48:49 +00:00
parent 5b2be54bd9
commit d634fce921
7 changed files with 60 additions and 12 deletions

View file

@ -6,12 +6,16 @@
#include data/scripts/defs/trans.scr
_setText(CHAR_PATRICK,STR__INGAME__CH2__L2__PATRICK1);
_setResponseOptions(QUESTION_OK);
do
if(_isHoldingWeapon(WEAPON_BALLOON)==FALSE)
{
pause;
_setText(CHAR_PATRICK,STR__INGAME__CH2__L2__PATRICK1);
_setResponseOptions(QUESTION_OK);
do
{
pause;
}
while(_getResponse()==ANSWER_NONE);
_giveWeapon(WEAPON_BALLOON);
}
while(_getResponse()==ANSWER_NONE);
stop;

View file

@ -6,12 +6,16 @@
#include data/scripts/defs/trans.scr
_setText(CHAR_PATRICK,STR__INGAME__CH2__L2__PATRICK2);
_setResponseOptions(QUESTION_OK);
do
if(_isHoldingWeapon(WEAPON_BALLOON)==FALSE)
{
pause;
_setText(CHAR_PATRICK,STR__INGAME__CH2__L2__PATRICK2);
_setResponseOptions(QUESTION_OK);
do
{
pause;
}
while(_getResponse()==ANSWER_NONE);
_giveWeapon(WEAPON_BALLOON);
}
while(_getResponse()==ANSWER_NONE);
stop;

View file

@ -4,4 +4,4 @@
// For isHoldingWeapon()
#define WEAPON_BUBBLEWAND 0
#define WEAPON_BALLOON 1