Script commands don't have underscores
This commit is contained in:
@@ -25,7 +25,7 @@ Route36_MapScripts:
|
||||
|
||||
.ArthurCallback:
|
||||
checkcode VAR_WEEKDAY
|
||||
if_equal THURSDAY, .ArthurAppears
|
||||
ifequal THURSDAY, .ArthurAppears
|
||||
disappear ROUTE36_ARTHUR
|
||||
return
|
||||
|
||||
@@ -77,7 +77,7 @@ WateredWeirdTreeScript:: ; export (for when you use Squirtbottle from pack)
|
||||
loadwildmon SUDOWOODO, 20
|
||||
startbattle
|
||||
setevent EVENT_FOUGHT_SUDOWOODO
|
||||
if_equal $2, DidntCatchSudowoodo
|
||||
ifequal $2, DidntCatchSudowoodo
|
||||
disappear ROUTE36_WEIRD_TREE
|
||||
variablesprite SPRITE_WEIRD_TREE, SPRITE_TWIN
|
||||
reloadmapafterbattle
|
||||
@@ -107,7 +107,7 @@ Route36FloriaScript:
|
||||
closetext
|
||||
clearevent EVENT_FLORIA_AT_FLOWER_SHOP
|
||||
checkcode VAR_FACING
|
||||
if_equal UP, .Up
|
||||
ifequal UP, .Up
|
||||
applymovement ROUTE36_FLORIA, FloriaMovement1
|
||||
disappear ROUTE36_FLORIA
|
||||
end
|
||||
@@ -169,7 +169,7 @@ TrainerSchoolboyAlan1:
|
||||
|
||||
.Script:
|
||||
writecode VAR_CALLERID, PHONE_SCHOOLBOY_ALAN
|
||||
end_if_just_battled
|
||||
endifjustbattled
|
||||
opentext
|
||||
checkflag ENGINE_ALAN
|
||||
iftrue .ChooseRematch
|
||||
@@ -189,8 +189,8 @@ TrainerSchoolboyAlan1:
|
||||
scall .AskNumber2
|
||||
.ContinueAskForPhoneNumber:
|
||||
askforphonenumber PHONE_SCHOOLBOY_ALAN
|
||||
if_equal PHONE_CONTACTS_FULL, .PhoneFull
|
||||
if_equal PHONE_CONTACT_REFUSED, .NumberDeclined
|
||||
ifequal PHONE_CONTACTS_FULL, .PhoneFull
|
||||
ifequal PHONE_CONTACT_REFUSED, .NumberDeclined
|
||||
trainertotext SCHOOLBOY, ALAN1, MEM_BUFFER_0
|
||||
scall .RegisteredNumber
|
||||
jump .NumberAccepted
|
||||
@@ -199,11 +199,11 @@ TrainerSchoolboyAlan1:
|
||||
scall .Rematch
|
||||
winlosstext SchoolboyAlan1BeatenText, 0
|
||||
copybytetovar wAlanFightCount
|
||||
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
|
||||
@@ -306,7 +306,7 @@ TrainerPsychicMark:
|
||||
trainer PSYCHIC_T, MARK, EVENT_BEAT_PSYCHIC_MARK, PsychicMarkSeenText, PsychicMarkBeatenText, 0, .Script
|
||||
|
||||
.Script:
|
||||
end_if_just_battled
|
||||
endifjustbattled
|
||||
opentext
|
||||
writetext PsychicMarkAfterBattleText
|
||||
waitbutton
|
||||
@@ -319,7 +319,7 @@ ArthurScript:
|
||||
checkevent EVENT_GOT_HARD_STONE_FROM_ARTHUR
|
||||
iftrue .AlreadyGotStone
|
||||
checkcode VAR_WEEKDAY
|
||||
if_not_equal THURSDAY, ArthurNotThursdayScript
|
||||
ifnotequal THURSDAY, ArthurNotThursdayScript
|
||||
checkevent EVENT_MET_ARTHUR_OF_THURSDAY
|
||||
iftrue .MetArthur
|
||||
writetext MeetArthurText
|
||||
|
Reference in New Issue
Block a user