Script commands don't have underscores
This commit is contained in:
@@ -57,10 +57,10 @@ DayCareManScript_Outside:
|
||||
special DayCareManOutside
|
||||
waitbutton
|
||||
closetext
|
||||
if_equal TRUE, .end_fail
|
||||
ifequal TRUE, .end_fail
|
||||
clearflag ENGINE_DAY_CARE_MAN_HAS_EGG
|
||||
checkcode VAR_FACING
|
||||
if_equal RIGHT, .walk_around_player
|
||||
ifequal RIGHT, .walk_around_player
|
||||
applymovement ROUTE34_GRAMPS, Route34MovementData_DayCareManWalksBackInside
|
||||
playsound SFX_ENTER_DOOR
|
||||
disappear ROUTE34_GRAMPS
|
||||
@@ -90,7 +90,7 @@ TrainerCamperTodd1:
|
||||
|
||||
.Script:
|
||||
writecode VAR_CALLERID, PHONE_CAMPER_TODD
|
||||
end_if_just_battled
|
||||
endifjustbattled
|
||||
opentext
|
||||
checkflag ENGINE_TODD
|
||||
iftrue .Rematch
|
||||
@@ -110,8 +110,8 @@ TrainerCamperTodd1:
|
||||
scall .AskNumber2
|
||||
.FinishAsk:
|
||||
askforphonenumber PHONE_CAMPER_TODD
|
||||
if_equal PHONE_CONTACTS_FULL, .PhoneFull
|
||||
if_equal PHONE_CONTACT_REFUSED, .NumberDeclined
|
||||
ifequal PHONE_CONTACTS_FULL, .PhoneFull
|
||||
ifequal PHONE_CONTACT_REFUSED, .NumberDeclined
|
||||
trainertotext CAMPER, TODD1, MEM_BUFFER_0
|
||||
scall .RegisteredNumber
|
||||
jump .NumberAccepted
|
||||
@@ -120,11 +120,11 @@ TrainerCamperTodd1:
|
||||
scall .RematchStd
|
||||
winlosstext CamperTodd1BeatenText, 0
|
||||
copybytetovar wToddFightCount
|
||||
if_equal 4, .Fight4
|
||||
if_equal 3, .Fight3
|
||||
if_equal 2, .Fight2
|
||||
if_equal 1, .Fight1
|
||||
if_equal 0, .LoadFight0
|
||||
ifequal 4, .Fight4
|
||||
ifequal 3, .Fight3
|
||||
ifequal 2, .Fight2
|
||||
ifequal 1, .Fight1
|
||||
ifequal 0, .LoadFight0
|
||||
.Fight4:
|
||||
checkevent EVENT_RESTORED_POWER_TO_KANTO
|
||||
iftrue .LoadFight4
|
||||
@@ -215,7 +215,7 @@ TrainerPicnickerGina1:
|
||||
|
||||
.Script:
|
||||
writecode VAR_CALLERID, PHONE_PICNICKER_GINA
|
||||
end_if_just_battled
|
||||
endifjustbattled
|
||||
opentext
|
||||
checkflag ENGINE_GINA
|
||||
iftrue .Rematch
|
||||
@@ -235,8 +235,8 @@ TrainerPicnickerGina1:
|
||||
scall .AskNumber2
|
||||
.FinishAsk:
|
||||
askforphonenumber PHONE_PICNICKER_GINA
|
||||
if_equal PHONE_CONTACTS_FULL, .PhoneFull
|
||||
if_equal PHONE_CONTACT_REFUSED, .NumberDeclined
|
||||
ifequal PHONE_CONTACTS_FULL, .PhoneFull
|
||||
ifequal PHONE_CONTACT_REFUSED, .NumberDeclined
|
||||
trainertotext PICNICKER, GINA1, MEM_BUFFER_0
|
||||
scall .RegisteredNumber
|
||||
jump .NumberAccepted
|
||||
@@ -245,11 +245,11 @@ TrainerPicnickerGina1:
|
||||
scall .RematchStd
|
||||
winlosstext PicnickerGina1BeatenText, 0
|
||||
copybytetovar wGinaFightCount
|
||||
if_equal 4, .Fight4
|
||||
if_equal 3, .Fight3
|
||||
if_equal 2, .Fight2
|
||||
if_equal 1, .Fight1
|
||||
if_equal 0, .LoadFight0
|
||||
ifequal 4, .Fight4
|
||||
ifequal 3, .Fight3
|
||||
ifequal 2, .Fight2
|
||||
ifequal 1, .Fight1
|
||||
ifequal 0, .LoadFight0
|
||||
.Fight4:
|
||||
checkevent EVENT_RESTORED_POWER_TO_KANTO
|
||||
iftrue .LoadFight4
|
||||
@@ -383,7 +383,7 @@ TrainerYoungsterSamuel:
|
||||
trainer YOUNGSTER, SAMUEL, EVENT_BEAT_YOUNGSTER_SAMUEL, YoungsterSamuelSeenText, YoungsterSamuelBeatenText, 0, .Script
|
||||
|
||||
.Script:
|
||||
end_if_just_battled
|
||||
endifjustbattled
|
||||
opentext
|
||||
writetext YoungsterSamuelAfterText
|
||||
waitbutton
|
||||
@@ -394,7 +394,7 @@ TrainerYoungsterIan:
|
||||
trainer YOUNGSTER, IAN, EVENT_BEAT_YOUNGSTER_IAN, YoungsterIanSeenText, YoungsterIanBeatenText, 0, .Script
|
||||
|
||||
.Script:
|
||||
end_if_just_battled
|
||||
endifjustbattled
|
||||
opentext
|
||||
writetext YoungsterIanAfterText
|
||||
waitbutton
|
||||
@@ -405,7 +405,7 @@ TrainerPokefanmBrandon:
|
||||
trainer POKEFANM, BRANDON, EVENT_BEAT_POKEFANM_BRANDON, PokefanmBrandonSeenText, PokefanmBrandonBeatenText, 0, .Script
|
||||
|
||||
.Script:
|
||||
end_if_just_battled
|
||||
endifjustbattled
|
||||
opentext
|
||||
writetext PokefanmBrandonAfterText
|
||||
waitbutton
|
||||
@@ -416,7 +416,7 @@ TrainerCooltrainerfIrene:
|
||||
trainer COOLTRAINERF, IRENE, EVENT_BEAT_COOLTRAINERF_IRENE, CooltrainerfIreneSeenText, CooltrainerfIreneBeatenText, 0, .Script
|
||||
|
||||
.Script:
|
||||
end_if_just_battled
|
||||
endifjustbattled
|
||||
opentext
|
||||
checkevent EVENT_GOT_SOFT_SAND_FROM_KATE
|
||||
iftrue .GotSoftSand
|
||||
@@ -435,7 +435,7 @@ TrainerCooltrainerfJenn:
|
||||
trainer COOLTRAINERF, JENN, EVENT_BEAT_COOLTRAINERF_JENN, CooltrainerfJennSeenText, CooltrainerfJennBeatenText, 0, .Script
|
||||
|
||||
.Script:
|
||||
end_if_just_battled
|
||||
endifjustbattled
|
||||
opentext
|
||||
checkevent EVENT_GOT_SOFT_SAND_FROM_KATE
|
||||
iftrue .GotSoftSand
|
||||
@@ -454,7 +454,7 @@ TrainerCooltrainerfKate:
|
||||
trainer COOLTRAINERF, KATE, EVENT_BEAT_COOLTRAINERF_KATE, CooltrainerfKateSeenText, CooltrainerfKateBeatenText, 0, .Script
|
||||
|
||||
.Script:
|
||||
end_if_just_battled
|
||||
endifjustbattled
|
||||
opentext
|
||||
checkevent EVENT_GOT_SOFT_SAND_FROM_KATE
|
||||
iftrue .GotSoftSand
|
||||
|
Reference in New Issue
Block a user