Script commands don't have underscores

This commit is contained in:
Rangi 2018-02-02 21:09:17 -05:00
parent b7e44124d3
commit 68d855c213
152 changed files with 1716 additions and 1716 deletions

View File

@ -17,17 +17,17 @@ Until this document is filled out, the [G/S Scripting Compendium](https://hax.ii
## `$05`: <code>ptjump <i>script</i></code>
## `$06`: <code>if_equal <i>byte</i>, <i>script</i></code>
## `$06`: <code>ifequal <i>byte</i>, <i>script</i></code>
## `$07`: <code>if_not_equal <i>byte</i>, <i>script</i></code>
## `$07`: <code>ifnotequal <i>byte</i>, <i>script</i></code>
## `$08`: <code>iffalse <i>script</i></code>
## `$09`: <code>iftrue <i>script</i></code>
## `$0A`: <code>if_greater_than <i>byte</i>, <i>script</i></code>
## `$0A`: <code>ifgreater <i>byte</i>, <i>script</i></code>
## `$0B`: <code>if_less_than <i>byte</i>, <i>script</i></code>
## `$0B`: <code>ifless <i>byte</i>, <i>script</i></code>
## `$0C`: <code>jumpstd <i>std_script</i></code>
@ -213,9 +213,9 @@ Until this document is filled out, the [G/S Scripting Compendium](https://hax.ii
## `$65`: `scripttalkafter`
## `$66`: `end_if_just_battled`
## `$66`: `endifjustbattled`
## `$67`: `check_just_battled`
## `$67`: `checkjustbattled`
## `$68`: <code>setlasttalked <i>object_id</i></code>
@ -303,7 +303,7 @@ Until this document is filled out, the [G/S Scripting Compendium](https://hax.ii
## `$92`: <code>reloadandreturn <i>which_method</i></code>
## `$93`: `end_all`
## `$93`: `endall`
## `$94`: <code>pokemart <i>dialog_id</i>, <i>mart_id</i></code>
@ -347,4 +347,4 @@ Until this document is filled out, the [G/S Scripting Compendium](https://hax.ii
## `$A8`: <code>wait <i>duration</i></code>
## `$A9`: `check_save`
## `$A9`: `checksave`

View File

@ -914,8 +914,8 @@ SelectMenuScript: ; 96b5f
StartMenuCallback:
SelectMenuCallback: ; 96b66
copybytetovar hMenuReturn
if_equal HMENURETURN_SCRIPT, .Script
if_equal HMENURETURN_ASM, .Asm
ifequal HMENURETURN_SCRIPT, .Script
ifequal HMENURETURN_ASM, .Asm
end
; 96b72

View File

@ -1,9 +1,9 @@
Script_ForcedMovement:: ; 0x1253d
checkcode VAR_FACING
if_equal DOWN, .down
if_equal UP, .up
if_equal LEFT, .left
if_equal RIGHT, .right
ifequal DOWN, .down
ifequal UP, .up
ifequal LEFT, .left
ifequal RIGHT, .right
end
; 0x12550

View File

@ -1044,7 +1044,7 @@ Script_UsedStrength: ; 0xcd2d
AskStrengthScript:
callasm TryStrengthOW
iffalse .AskStrength
if_equal $1, .DontMeetRequirements
ifequal $1, .DontMeetRequirements
jump .AlreadyUsedStrength
.DontMeetRequirements: ; 0xcd59
@ -1413,7 +1413,7 @@ UnknownText_0xcf58: ; 0xcf58
AskRockSmashScript: ; 0xcf5d
callasm HasRockSmash
if_equal 1, .no
ifequal 1, .no
opentext
writetext UnknownText_0xcf77

View File

@ -245,12 +245,12 @@ MartSignScript
DayToTextScript:
checkcode VAR_WEEKDAY
if_equal MONDAY, .Monday
if_equal TUESDAY, .Tuesday
if_equal WEDNESDAY, .Wednesday
if_equal THURSDAY, .Thursday
if_equal FRIDAY, .Friday
if_equal SATURDAY, .Saturday
ifequal MONDAY, .Monday
ifequal TUESDAY, .Tuesday
ifequal WEDNESDAY, .Wednesday
ifequal THURSDAY, .Thursday
ifequal FRIDAY, .Friday
ifequal SATURDAY, .Saturday
stringtotext .SundayText, MEM_BUFFER_0
end
.Monday:
@ -322,9 +322,9 @@ BugContestResultsScript:
waitbutton
special BugContestJudging
vartomem MEM_BUFFER_0
if_equal 1, BugContestResults_FirstPlace
if_equal 2, BugContestResults_SecondPlace
if_equal 3, BugContestResults_ThirdPlace
ifequal 1, BugContestResults_FirstPlace
ifequal 2, BugContestResults_SecondPlace
ifequal 3, BugContestResults_ThirdPlace
farwritetext ContestResults_ConsolationPrizeText
buttonsound
waitsfx
@ -349,8 +349,8 @@ BugContestResults_FinishUp
special ContestReturnMons
BugContestResults_DidNotLeaveMons
special CheckPartyFullAfterContest
if_equal BUGCONTEST_CAUGHT_MON, BugContestResults_CleanUp
if_equal BUGCONTEST_NO_CATCH, BugContestResults_CleanUp
ifequal BUGCONTEST_CAUGHT_MON, BugContestResults_CleanUp
ifequal BUGCONTEST_NO_CATCH, BugContestResults_CleanUp
; BUGCONTEST_BOXED_MON
farwritetext ContestResults_PartyFullText
waitbutton
@ -624,26 +624,26 @@ InitializeEventsScript:
AskNumber1MScript:
special RandomPhoneMon
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext JackAskNumber1Text
@ -709,26 +709,26 @@ AskNumber1MScript:
AskNumber2MScript:
special RandomPhoneMon
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext JackAskNumber2Text
@ -800,26 +800,26 @@ RegisteredNumberMScript:
NumberAcceptedMScript:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext JackNumberAcceptedText
@ -924,26 +924,26 @@ NumberAcceptedMScript:
NumberDeclinedMScript:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext JackNumberDeclinedText
@ -1048,26 +1048,26 @@ NumberDeclinedMScript:
PhoneFullMScript:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext JackPhoneFullText
@ -1172,23 +1172,23 @@ PhoneFullMScript:
RematchMScript:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext JackRematchText
@ -1278,13 +1278,13 @@ RematchMScript:
GiftMScript:
checkcode VAR_CALLERID
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
.Jose:
farwritetext JoseGiftText
@ -1317,17 +1317,17 @@ GiftMScript:
PackFullMScript:
checkcode VAR_CALLERID
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Huey:
farwritetext HueyPackFullText
@ -1388,10 +1388,10 @@ PackFullMScript:
RematchGiftMScript:
opentext
checkcode VAR_CALLERID
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_HIKER_PARRY, .Parry
.Huey:
farwritetext HueyRematchGiftText
@ -1412,14 +1412,14 @@ RematchGiftMScript:
AskNumber1FScript:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext BeverlyAskNumber1Text
@ -1448,14 +1448,14 @@ AskNumber1FScript:
AskNumber2FScript:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext BeverlyAskNumber2Text
@ -1491,14 +1491,14 @@ RegisteredNumberFScript:
NumberAcceptedFScript: ; 0xbcbd3
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext BeverlyNumberAcceptedText
@ -1543,14 +1543,14 @@ NumberAcceptedFScript: ; 0xbcbd3
NumberDeclinedFScript:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext BeverlyNumberDeclinedText
@ -1595,14 +1595,14 @@ NumberDeclinedFScript:
PhoneFullFScript:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext BeverlyPhoneFullText
@ -1647,13 +1647,13 @@ PhoneFullFScript:
RematchFScript:
checkcode VAR_CALLERID
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beth:
farwritetext BethRematchText
@ -1693,10 +1693,10 @@ RematchFScript:
GiftFScript:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
.Beverly:
farwritetext BeverlyGiftText
@ -1717,11 +1717,11 @@ GiftFScript:
PackFullFScript:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext BeverlyPackFullText
@ -1751,7 +1751,7 @@ PackFullFScript:
RematchGiftFScript:
checkcode VAR_CALLERID
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_PICNICKER_ERIN, .Erin
.Erin:
opentext
@ -1814,16 +1814,16 @@ CoinVendor_IntroScript: ; 0xbcde0
loadmenuheader .MenuHeader
verticalmenu
closewindow
if_equal 1, .Buy50
if_equal 2, .Buy500
ifequal 1, .Buy50
ifequal 2, .Buy500
jump .Cancel
; 0xbcdf7
.Buy50: ; 0xbcdf7
checkcoins MAX_COINS - 50
if_equal HAVE_MORE, .CoinCaseFull
ifequal HAVE_MORE, .CoinCaseFull
checkmoney YOUR_MONEY, 1000
if_equal HAVE_LESS, .NotEnoughMoney
ifequal HAVE_LESS, .NotEnoughMoney
givecoins 50
takemoney YOUR_MONEY, 1000
waitsfx
@ -1835,9 +1835,9 @@ CoinVendor_IntroScript: ; 0xbcde0
.Buy500: ; 0xbce1b
checkcoins MAX_COINS - 500
if_equal HAVE_MORE, .CoinCaseFull
ifequal HAVE_MORE, .CoinCaseFull
checkmoney YOUR_MONEY, 10000
if_equal HAVE_LESS, .NotEnoughMoney
ifequal HAVE_LESS, .NotEnoughMoney
givecoins 500
takemoney YOUR_MONEY, 10000
waitsfx
@ -1888,8 +1888,8 @@ HappinessCheckScript:
faceplayer
opentext
special GetFirstPokemonHappiness
if_less_than 50, .Unhappy
if_less_than 150, .KindaHappy
ifless 50, .Unhappy
ifless 150, .KindaHappy
farwritetext HappinessText3
waitbutton
closetext

View File

@ -20,7 +20,7 @@ Script_Whiteout: ; 0x124ce
farscall Script_AbortBugContest
special WarpToSpawnPoint
newloadmap MAPSETUP_WARP
end_all
endall
.bug_contest
jumpstd bugcontestresultswarp

View File

@ -2,7 +2,7 @@ BuenaPhoneScript1:
checkflag ENGINE_ROCKETS_IN_RADIO_TOWER
iftrue BuenaPhoneScript_Rocket
checkcode VAR_HOUR
if_greater_than 17, BuenaPhoneScript_AfterMidnight1
ifgreater 17, BuenaPhoneScript_AfterMidnight1
scall BuenaPhoneScript_CheckTimeOfDay1
jump BuenaPhoneScript_Random1
@ -37,7 +37,7 @@ BuenaPhoneScript_AfterMidnight1:
BuenaPhoneScript_CheckTimeOfDay2:
checkcode VAR_HOUR
if_greater_than 17, BuenaPhoneScript_AfterMidnight2
ifgreater 17, BuenaPhoneScript_AfterMidnight2
checkmorn
iftrue .morn
checkday
@ -75,20 +75,20 @@ BuenaPhoneScript_Random2:
random 14
.Jumptable:
if_equal 0, .zero
if_equal 1, .one
if_equal 2, .two
if_equal 3, .three
if_equal 4, .four
if_equal 5, .five
if_equal 6, .six
if_equal 7, .seven
if_equal 8, .eight
if_equal 9, .nine
if_equal 10, .ten
if_equal 11, .eleven
if_equal 12, .twelve
if_equal 13, .thirteen
ifequal 0, .zero
ifequal 1, .one
ifequal 2, .two
ifequal 3, .three
ifequal 4, .four
ifequal 5, .five
ifequal 6, .six
ifequal 7, .seven
ifequal 8, .eight
ifequal 9, .nine
ifequal 10, .ten
ifequal 11, .eleven
ifequal 12, .twelve
ifequal 13, .thirteen
.zero
writetext UnknownText_0xa0efb
@ -150,9 +150,9 @@ BuenaPhoneScript_Random2:
BuenaPhoneScript_Random1:
random 3
if_equal 0, .zero
if_equal 1, .one
if_equal 2, .two
ifequal 0, .zero
ifequal 1, .one
ifequal 2, .two
.zero
writetext UnknownText_0xa1c88

View File

@ -24,26 +24,26 @@ PhoneScript_AnswerPhone_Male:
checknite
iftrue PhoneScript_AnswerPhone_Male_Nite
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext UnknownText_0x1b4dc5
@ -147,26 +147,26 @@ PhoneScript_AnswerPhone_Male:
PhoneScript_AnswerPhone_Male_Day:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext UnknownText_0x1b4ded
@ -270,26 +270,26 @@ PhoneScript_AnswerPhone_Male_Day:
PhoneScript_AnswerPhone_Male_Nite:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext UnknownText_0x1b4e16
@ -397,14 +397,14 @@ PhoneScript_AnswerPhone_Female:
checknite
iftrue PhoneScript_AnswerPhone_Female_Nite
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext UnknownText_0x1b4f21
@ -448,14 +448,14 @@ PhoneScript_AnswerPhone_Female:
PhoneScript_AnswerPhone_Female_Day:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext UnknownText_0x1b4f4d
@ -499,14 +499,14 @@ PhoneScript_AnswerPhone_Female_Day:
PhoneScript_AnswerPhone_Female_Nite:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext UnknownText_0x1b4f75
@ -554,26 +554,26 @@ PhoneScript_GreetPhone_Male:
checknite
iftrue PhoneScript_GreetPhone_Male_Nite
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext UnknownText_0x1b4e3e
@ -677,26 +677,26 @@ PhoneScript_GreetPhone_Male:
PhoneScript_GreetPhone_Male_Day:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext UnknownText_0x1b4e72
@ -800,26 +800,26 @@ PhoneScript_GreetPhone_Male_Day:
PhoneScript_GreetPhone_Male_Nite:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext UnknownText_0x1b4e9e
@ -927,14 +927,14 @@ PhoneScript_GreetPhone_Female:
checknite
iftrue PhoneScript_GreetPhone_Female_Nite
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext UnknownText_0x1b4fa1
@ -978,14 +978,14 @@ PhoneScript_GreetPhone_Female:
PhoneScript_GreetPhone_Female_Day:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext UnknownText_0x1b4fda
@ -1029,14 +1029,14 @@ PhoneScript_GreetPhone_Female_Day:
PhoneScript_GreetPhone_Female_Nite:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext UnknownText_0x1b5004
@ -1080,23 +1080,23 @@ PhoneScript_GreetPhone_Female_Nite:
PhoneScript_Generic_Male:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext UnknownText_0x1b4ecd
@ -1190,14 +1190,14 @@ PhoneScript_Generic_Male:
PhoneScript_Generic_Female:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext UnknownText_0x1b502b
@ -1242,7 +1242,7 @@ PhoneScript_Generic_Female:
PhoneScript_MonFlavorText:
special RandomPhoneMon
farscall PhoneScript_Random2
if_equal $0, .TooEnergetic
ifequal $0, .TooEnergetic
farwritetext UnknownText_0x1b518b
buttonsound
farjump PhoneScript_HangupText_Male

View File

@ -1,7 +1,7 @@
Phone_GenericCall_Male:
special RandomPhoneMon
farscall PhoneScript_Random2
if_equal 0, .Bragging
ifequal 0, .Bragging
farscall PhoneScript_Generic_Male
farjump Phone_FoundAMon_Male
@ -11,7 +11,7 @@ Phone_GenericCall_Male:
Phone_GenericCall_Female:
special RandomPhoneMon
farscall PhoneScript_Random2
if_equal 0, .Bragging
ifequal 0, .Bragging
farscall PhoneScript_Generic_Female
farjump Phone_FoundAMon_Female
@ -29,7 +29,7 @@ Phone_BraggingCall_Female:
Phone_FoundAMon_Male:
special RandomPhoneWildMon
farscall PhoneScript_Random2
if_equal 0, .GotAway
ifequal 0, .GotAway
farscall Phone_WhoDefeatedMon_Male
farjump PhoneScript_HangupText_Male
@ -39,7 +39,7 @@ Phone_FoundAMon_Male:
Phone_FoundAMon_Female:
special RandomPhoneWildMon
farscall PhoneScript_Random2
if_equal 0, .GotAway
ifequal 0, .GotAway
farscall Phone_WhoDefeatedMon_Female
farjump PhoneScript_HangupText_Female
@ -56,23 +56,23 @@ Phone_GotAwayCall_Female:
Phone_WhosBragging_Male:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext JackIntelligenceText
@ -161,14 +161,14 @@ Phone_WhosBragging_Male:
Phone_WhosBragging_Female:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext UnknownText_0x174688
@ -212,23 +212,23 @@ Phone_WhosBragging_Female:
Phone_WhoDefeatedMon_Male:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext JackDefeatedMonText
@ -317,14 +317,14 @@ Phone_WhoDefeatedMon_Male:
Phone_WhoDefeatedMon_Female:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext UnknownText_0x1746c3
@ -368,23 +368,23 @@ Phone_WhoDefeatedMon_Female:
Phone_WhoLostAMon_Male:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext UnknownText_0x174165
@ -473,14 +473,14 @@ Phone_WhoLostAMon_Male:
Phone_WhoLostAMon_Female:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext UnknownText_0x174734
@ -532,23 +532,23 @@ PhoneScript_WantsToBattle_Female:
PhoneScript_RematchText_Male:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext UnknownText_0x1741e1
@ -637,13 +637,13 @@ PhoneScript_RematchText_Male:
PhoneScript_RematchText_Female:
checkcode VAR_CALLERID
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beth:
farwritetext UnknownText_0x174e4e
@ -690,26 +690,26 @@ TiffanyItsAwful:
PhoneScript_HangupText_Male:
checkcode VAR_CALLERID
if_equal PHONE_SCHOOLBOY_JACK, .Jack
if_equal PHONE_SAILOR_HUEY, .Huey
if_equal PHONE_COOLTRAINERM_GAVEN, .Gaven
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_YOUNGSTER_JOEY, .Joey
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_FISHER_RALPH, .Ralph
if_equal PHONE_HIKER_ANTHONY, .Anthony
if_equal PHONE_CAMPER_TODD, .Todd
if_equal PHONE_JUGGLER_IRWIN, .Irwin
if_equal PHONE_BUG_CATCHER_ARNIE, .Arnie
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_SCHOOLBOY_CHAD, .Chad
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_POKEMANIAC_BRENT, .Brent
if_equal PHONE_BIRDKEEPER_VANCE, .Vance
if_equal PHONE_FISHER_WILTON, .Wilton
if_equal PHONE_BLACKBELT_KENJI, .Kenji
if_equal PHONE_HIKER_PARRY, .Parry
ifequal PHONE_SCHOOLBOY_JACK, .Jack
ifequal PHONE_SAILOR_HUEY, .Huey
ifequal PHONE_COOLTRAINERM_GAVEN, .Gaven
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_YOUNGSTER_JOEY, .Joey
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_FISHER_RALPH, .Ralph
ifequal PHONE_HIKER_ANTHONY, .Anthony
ifequal PHONE_CAMPER_TODD, .Todd
ifequal PHONE_JUGGLER_IRWIN, .Irwin
ifequal PHONE_BUG_CATCHER_ARNIE, .Arnie
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_SCHOOLBOY_CHAD, .Chad
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_POKEMANIAC_BRENT, .Brent
ifequal PHONE_BIRDKEEPER_VANCE, .Vance
ifequal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BLACKBELT_KENJI, .Kenji
ifequal PHONE_HIKER_PARRY, .Parry
.Jack:
farwritetext UnknownText_0x174251
@ -793,14 +793,14 @@ PhoneScript_HangupText_Male:
PhoneScript_HangupText_Female:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_COOLTRAINERF_BETH, .Beth
if_equal PHONE_COOLTRAINERF_REENA, .Reena
if_equal PHONE_PICNICKER_LIZ, .Liz
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
if_equal PHONE_PICNICKER_ERIN, .Erin
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_COOLTRAINERF_BETH, .Beth
ifequal PHONE_COOLTRAINERF_REENA, .Reena
ifequal PHONE_PICNICKER_LIZ, .Liz
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_PICNICKER_ERIN, .Erin
.Beverly:
farwritetext UnknownText_0x1747ac
@ -856,8 +856,8 @@ PhoneScriptRareWildMon:
PhoneScript_BugCatchingContest:
checkcode VAR_CALLERID
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_POKEFANM_DEREK, .Derek
.Wade:
farwritetext WadeBugCatchingContestText
@ -896,12 +896,12 @@ UnknownScript_0xa05de:
PhoneScript_FoundItem_Male:
checkcode VAR_CALLERID
if_equal PHONE_BIRDKEEPER_JOSE, .Jose
if_equal PHONE_BUG_CATCHER_WADE, .Wade
if_equal PHONE_SCHOOLBOY_ALAN, .Alan
if_equal PHONE_POKEFANM_DEREK, .Derek
if_equal PHONE_FISHER_TULLY, .Tully
if_equal PHONE_FISHER_WILTON, .Wilton
ifequal PHONE_BIRDKEEPER_JOSE, .Jose
ifequal PHONE_BUG_CATCHER_WADE, .Wade
ifequal PHONE_SCHOOLBOY_ALAN, .Alan
ifequal PHONE_POKEFANM_DEREK, .Derek
ifequal PHONE_FISHER_TULLY, .Tully
ifequal PHONE_FISHER_WILTON, .Wilton
.Jose:
farwritetext JoseFoundSomethingText
@ -929,10 +929,10 @@ PhoneScript_FoundItem_Male:
PhoneScript_FoundItem_Female:
checkcode VAR_CALLERID
if_equal PHONE_POKEFAN_BEVERLY, .Beverly
if_equal PHONE_PICNICKER_GINA, .Gina
if_equal PHONE_LASS_DANA, .Dana
if_equal PHONE_PICNICKER_TIFFANY, .Tiffany
ifequal PHONE_POKEFAN_BEVERLY, .Beverly
ifequal PHONE_PICNICKER_GINA, .Gina
ifequal PHONE_LASS_DANA, .Dana
ifequal PHONE_PICNICKER_TIFFANY, .Tiffany
.Beverly:
farwritetext BeverlyFoundNuggetText

View File

@ -1,16 +1,16 @@
JackTriviaScript:
random 11
if_equal 0, .Thunder
if_equal 1, .Rollout
if_equal 2, .Solarbeam
if_equal 3, .Stomp
if_equal 4, .Gust
if_equal 5, .Twister
if_equal 6, .Earthquake
if_equal 7, .Magnitude
if_equal 8, .Sandstorm
if_equal 9, .SunnyDay
if_equal 10, .RainDance
ifequal 0, .Thunder
ifequal 1, .Rollout
ifequal 2, .Solarbeam
ifequal 3, .Stomp
ifequal 4, .Gust
ifequal 5, .Twister
ifequal 6, .Earthquake
ifequal 7, .Magnitude
ifequal 8, .Sandstorm
ifequal 9, .SunnyDay
ifequal 10, .RainDance
.Thunder:
farwritetext JackThunderTriviaText
@ -69,16 +69,16 @@ JackTriviaScript:
UnknownScript_0xa06da:
random 10
if_equal 0, .RuinsOfAlph
if_equal 1, .Falkner
if_equal 2, .Earl
if_equal 3, .SurfPikachu
if_equal 4, .MooMooMilk
if_equal 5, .Salon
if_equal 6, .Whitney
if_equal 7, .BugCatchingContest
if_equal 8, .BeautifulMon
if_equal 9, .Forgot
ifequal 0, .RuinsOfAlph
ifequal 1, .Falkner
ifequal 2, .Earl
ifequal 3, .SurfPikachu
ifequal 4, .MooMooMilk
ifequal 5, .Salon
ifequal 6, .Whitney
ifequal 7, .BugCatchingContest
ifequal 8, .BeautifulMon
ifequal 9, .Forgot
.RuinsOfAlph:
farwritetext UnknownText_0x176223
@ -132,16 +132,16 @@ UnknownScript_0xa06da:
ChadOakGossipScript:
random 10
if_equal 0, .Blue
if_equal 1, .Daisy
if_equal 2, .ProfElm
if_equal 3, .Dream
if_equal 4, .Kurt
if_equal 5, .League
if_equal 6, .RadioShow
if_equal 7, .Battling
if_equal 8, .DaisyTea
if_equal 9, .Traveled
ifequal 0, .Blue
ifequal 1, .Daisy
ifequal 2, .ProfElm
ifequal 3, .Dream
ifequal 4, .Kurt
ifequal 5, .League
ifequal 6, .RadioShow
ifequal 7, .Battling
ifequal 8, .DaisyTea
ifequal 9, .Traveled
.Blue:
farwritetext ChadBlueGossipText
@ -195,16 +195,16 @@ ChadOakGossipScript:
BrentBillTriviaScript:
random 10
if_equal 0, .Father
if_equal 1, .Grandpa
if_equal 2, .Goldenrod
if_equal 3, .Route25
if_equal 4, .Abra
if_equal 5, .Sister
if_equal 6, .Milk
if_equal 7, .Battling
if_equal 8, .FlowerShop
if_equal 9, .KimonoGirl
ifequal 0, .Father
ifequal 1, .Grandpa
ifequal 2, .Goldenrod
ifequal 3, .Route25
ifequal 4, .Abra
ifequal 5, .Sister
ifequal 6, .Milk
ifequal 7, .Battling
ifequal 8, .FlowerShop
ifequal 9, .KimonoGirl
.Father:
farwritetext UnknownText_0x662bc
@ -477,9 +477,9 @@ ErinWorkingHardScript:
UnknownScript_0xa09c8:
random 3
if_equal 0, UnknownScript_0xa09d6
if_equal 1, UnknownScript_0xa09de
if_equal 2, UnknownScript_0xa09e6
ifequal 0, UnknownScript_0xa09d6
ifequal 1, UnknownScript_0xa09de
ifequal 2, UnknownScript_0xa09e6
UnknownScript_0xa09d6:
farwritetext UnknownText_0x64846
@ -498,8 +498,8 @@ UnknownScript_0xa09e6:
KenjiAnswerPhoneScript:
checkcode VAR_KENJI_BREAK
if_equal 2, .Training
if_equal 1, .OnBreak
ifequal 2, .Training
ifequal 1, .OnBreak
farwritetext UnknownText_0x66e17
buttonsound
jump PhoneScript_HangupText_Male

View File

@ -22,8 +22,8 @@ MomPhoneScript: ; 0xbceaa
buttonsound
mapnametotext MEM_BUFFER_0
checkcode VAR_ROOFPALETTE
if_equal 1, MomPhonePalette1
if_equal 2, MomPhonePalette2
ifequal 1, MomPhonePalette1
ifequal 2, MomPhonePalette2
jump MomPhoneOther
MomPhoneLandmark: ; 0xbcedf
@ -33,11 +33,11 @@ MomPhoneLandmark: ; 0xbcedf
MomPhonePalette1: ; 0xbcee7
checkcode VAR_MAPGROUP
if_equal GROUP_NEW_BARK_TOWN, .newbark
if_equal GROUP_CHERRYGROVE_CITY, .cherrygrove
if_equal GROUP_VIOLET_CITY, .violet
if_equal GROUP_AZALEA_TOWN, .azalea
if_equal GROUP_GOLDENROD_CITY, .goldenrod
ifequal GROUP_NEW_BARK_TOWN, .newbark
ifequal GROUP_CHERRYGROVE_CITY, .cherrygrove
ifequal GROUP_VIOLET_CITY, .violet
ifequal GROUP_AZALEA_TOWN, .azalea
ifequal GROUP_GOLDENROD_CITY, .goldenrod
farwritetext MomPhoneGenericAreaText
buttonsound
jump MomSavingMoney
@ -76,12 +76,12 @@ MomSavingMoney: ; 0xbcf37
checkflag ENGINE_MOM_SAVING_MONEY
iffalse MomIsNotSaving
checkmoney MOMS_MONEY, 0
if_equal HAVE_MORE, MomSavingHasMoney
ifequal HAVE_MORE, MomSavingHasMoney
jump MomSavingButBroke
MomIsNotSaving: ; 0xbcf49
checkmoney MOMS_MONEY, 0
if_equal HAVE_MORE, MomHasMoney
ifequal HAVE_MORE, MomHasMoney
jump MomHasNoMoney
MomSavingHasMoney: ; 0xbcf55
@ -173,8 +173,8 @@ BillPhoneScript1: ; 0xbcfc5
buttonsound
checkcode VAR_BOXSPACE
vartomem MEM_BUFFER_0
if_equal 0, .full
if_less_than PARTY_LENGTH, .nearlyfull
ifequal 0, .full
ifless PARTY_LENGTH, .nearlyfull
farwritetext BillPhoneNotFullText
end
@ -195,7 +195,7 @@ BillPhoneScript2: ; 0xbd007
ElmPhoneScript1: ; 0xbd00d
checkcode VAR_SPECIALPHONECALL
if_equal SPECIALCALL_POKERUS, .pokerus
ifequal SPECIALCALL_POKERUS, .pokerus
checkevent EVENT_SHOWED_TOGEPI_TO_ELM
iftrue .discovery
checkevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
@ -243,7 +243,7 @@ ElmPhoneScript1: ; 0xbd00d
.discovery ; 0xbd069
random 2
if_equal 0, .nextdiscovery
ifequal 0, .nextdiscovery
farwritetext ElmPhoneDiscovery1Text
end
@ -258,11 +258,11 @@ ElmPhoneScript1: ; 0xbd00d
ElmPhoneScript2: ; 0xbd081
checkcode VAR_SPECIALPHONECALL
if_equal SPECIALCALL_ROBBED, .disaster
if_equal SPECIALCALL_ASSISTANT, .assistant
if_equal SPECIALCALL_WEIRDBROADCAST, .rocket
if_equal SPECIALCALL_SSTICKET, .gift
if_equal SPECIALCALL_MASTERBALL, .gift
ifequal SPECIALCALL_ROBBED, .disaster
ifequal SPECIALCALL_ASSISTANT, .assistant
ifequal SPECIALCALL_WEIRDBROADCAST, .rocket
ifequal SPECIALCALL_SSTICKET, .gift
ifequal SPECIALCALL_MASTERBALL, .gift
farwritetext ElmPhonePokerusText
specialphonecall SPECIALCALL_NONE
end
@ -306,7 +306,7 @@ JackPhoneScript1:
checkflag ENGINE_JACK_MONDAY_MORNING
iftrue .NotMonday
checkcode VAR_WEEKDAY
if_not_equal MONDAY, .NotMonday
ifnotequal MONDAY, .NotMonday
checkmorn
iftrue JackMondayMorning
@ -321,17 +321,17 @@ JackPhoneScript2:
trainertotext SCHOOLBOY, JACK1, MEM_BUFFER_0
farscall PhoneScript_GreetPhone_Male
farscall PhoneScript_Random2
if_equal 0, JackBattleTrivia
ifequal 0, JackBattleTrivia
checkflag ENGINE_JACK
iftrue .WaitingForBattle
checkflag ENGINE_JACK_MONDAY_MORNING
iftrue .WaitingForBattle
farscall PhoneScript_Random2
if_equal 0, JackWantsToBattle
ifequal 0, JackWantsToBattle
.WaitingForBattle:
farscall PhoneScript_Random3
if_equal 0, JackFindsRare
ifequal 0, JackFindsRare
farjump Phone_GenericCall_Male
JackMondayMorning:
@ -367,7 +367,7 @@ BeverlyPhoneScript2:
checkflag ENGINE_BEVERLY_HAS_NUGGET
iftrue .HasNugget
farscall PhoneScript_Random4
if_equal 0, .FoundNugget
ifequal 0, .FoundNugget
.HasNugget:
farjump Phone_GenericCall_Female
@ -387,7 +387,7 @@ HueyPhoneScript1:
checkflag ENGINE_HUEY_WEDNESDAY_NIGHT
iftrue .NotWednesday
checkcode VAR_WEEKDAY
if_not_equal WEDNESDAY, .NotWednesday
ifnotequal WEDNESDAY, .NotWednesday
checknite
iftrue HueyWednesdayNight
@ -407,8 +407,8 @@ HueyPhoneScript2:
checkflag ENGINE_HUEY_WEDNESDAY_NIGHT
iftrue .Flavor
farscall PhoneScript_Random3
if_equal 0, HueyWantsBattle
if_equal 1, HueyWantsBattle
ifequal 0, HueyWantsBattle
ifequal 1, HueyWantsBattle
.Flavor:
farjump PhoneScript_MonFlavorText
@ -431,7 +431,7 @@ GavenPhoneScript1:
checkflag ENGINE_GAVEN_THURSDAY_MORNING
iftrue .NotThursday
checkcode VAR_WEEKDAY
if_not_equal THURSDAY, .NotThursday
ifnotequal THURSDAY, .NotThursday
checkmorn
iftrue GavenThursdayMorning
@ -450,11 +450,11 @@ GavenPhoneScript2:
checkflag ENGINE_GAVEN_THURSDAY_MORNING
iftrue .WaitingForBattle
farscall PhoneScript_Random2
if_equal 0, GavenWantsRematch
ifequal 0, GavenWantsRematch
.WaitingForBattle:
farscall PhoneScript_Random3
if_equal 0, GavenFoundRare
ifequal 0, GavenFoundRare
farjump Phone_GenericCall_Male
GavenThursdayMorning:
@ -478,7 +478,7 @@ BethPhoneScript1:
checkflag ENGINE_BETH_FRIDAY_AFTERNOON
iftrue .NotFriday
checkcode VAR_WEEKDAY
if_not_equal FRIDAY, .NotFriday
ifnotequal FRIDAY, .NotFriday
checkday
iftrue BethFridayAfternoon
@ -497,7 +497,7 @@ BethPhoneScript2:
checkflag ENGINE_BETH_FRIDAY_AFTERNOON
iftrue .Generic
farscall PhoneScript_Random2
if_equal 0, BethWantsBattle
ifequal 0, BethWantsBattle
.Generic:
farjump Phone_GenericCall_Female
@ -522,7 +522,7 @@ JosePhoneScript1:
checkflag ENGINE_JOSE_HAS_STAR_PIECE
iftrue .HasItem
checkcode VAR_WEEKDAY
if_not_equal SATURDAY, .NotSaturday
ifnotequal SATURDAY, .NotSaturday
checknite
iftrue JoseSaturdayNight
@ -547,13 +547,13 @@ JosePhoneScript2:
checkflag ENGINE_JOSE_HAS_STAR_PIECE
iftrue .Generic
farscall PhoneScript_Random3
if_equal 0, JoseWantsBattle
ifequal 0, JoseWantsBattle
farscall PhoneScript_Random3
if_equal 0, JoseHasStarPiece
ifequal 0, JoseHasStarPiece
.Generic:
farscall PhoneScript_Random3
if_equal 0, JoseFoundRare
ifequal 0, JoseFoundRare
farjump Phone_GenericCall_Male
JoseSaturdayNight:
@ -582,7 +582,7 @@ ReenaPhoneScript1:
checkflag ENGINE_REENA_SUNDAY_MORNING
iftrue .NotSunday
checkcode VAR_WEEKDAY
if_not_equal SUNDAY, .NotSunday
ifnotequal SUNDAY, .NotSunday
checkmorn
iftrue ReenaSundayMorning
@ -601,7 +601,7 @@ ReenaPhoneScript2:
checkflag ENGINE_REENA_SUNDAY_MORNING
iftrue .Generic
farscall PhoneScript_Random2
if_equal 0, ReenaWantsBattle
ifequal 0, ReenaWantsBattle
.Generic:
farjump Phone_GenericCall_Female
@ -624,7 +624,7 @@ JoeyPhoneScript1:
checkflag ENGINE_JOEY_MONDAY_AFTERNOON
iftrue .NotMonday
checkcode VAR_WEEKDAY
if_not_equal MONDAY, .NotMonday
ifnotequal MONDAY, .NotMonday
checkday
iftrue JoeyMondayAfternoon
@ -644,8 +644,8 @@ JoeyPhoneScript2:
checkflag ENGINE_JOEY_MONDAY_AFTERNOON
iftrue .Generic
farscall PhoneScript_Random3
if_equal 0, JoeyWantsBattle
if_equal 1, JoeyWantsBattle
ifequal 0, JoeyWantsBattle
ifequal 1, JoeyWantsBattle
.Generic:
farjump Phone_GenericCall_Male
@ -670,19 +670,19 @@ WadePhoneScript1:
checkflag ENGINE_WADE_HAS_ITEM
iftrue WadeHasItem
checkcode VAR_WEEKDAY
if_not_equal TUESDAY, .NotTuesday
ifnotequal TUESDAY, .NotTuesday
checknite
iftrue WadeTuesdayNight
.NotTuesday:
farscall PhoneScript_Random2
if_equal 0, .NoContest
ifequal 0, .NoContest
checkflag ENGINE_DAILY_BUG_CONTEST
iftrue .NoContest
checkcode VAR_WEEKDAY
if_equal TUESDAY, WadeContestToday
if_equal THURSDAY, WadeContestToday
if_equal SATURDAY, WadeContestToday
ifequal TUESDAY, WadeContestToday
ifequal THURSDAY, WadeContestToday
ifequal SATURDAY, WadeContestToday
.NoContest:
farjump UnknownScript_0xa0938
@ -702,13 +702,13 @@ WadePhoneScript2:
trainertotext BUG_CATCHER, WADE1, MEM_BUFFER_0
farscall PhoneScript_GreetPhone_Male
farscall PhoneScript_Random2
if_equal 0, .NoContest
ifequal 0, .NoContest
checkflag ENGINE_DAILY_BUG_CONTEST
iftrue .NoContest
checkcode VAR_WEEKDAY
if_equal TUESDAY, Wade_ContestToday
if_equal THURSDAY, Wade_ContestToday
if_equal SATURDAY, Wade_ContestToday
ifequal TUESDAY, Wade_ContestToday
ifequal THURSDAY, Wade_ContestToday
ifequal SATURDAY, Wade_ContestToday
.NoContest:
checkflag ENGINE_WADE
@ -718,15 +718,15 @@ WadePhoneScript2:
checkflag ENGINE_WADE_HAS_ITEM
iftrue .next
farscall PhoneScript_Random2
if_equal 0, WadeHasItem2
ifequal 0, WadeHasItem2
checkflag ENGINE_FLYPOINT_GOLDENROD
iffalse .next
farscall PhoneScript_Random2
if_equal 0, WadeWantsBattle2
ifequal 0, WadeWantsBattle2
.next:
farscall PhoneScript_Random3
if_equal 0, WadeFoundRare
ifequal 0, WadeFoundRare
farjump Phone_GenericCall_Male
Wade_ContestToday:
@ -751,10 +751,10 @@ WadeHasItem2:
clearevent EVENT_WADE_HAS_PRZCUREBERRY
clearevent EVENT_WADE_HAS_BITTER_BERRY
random 4
if_equal 0, .Berry
if_equal 1, .PsnCureBerry
if_equal 2, .PrzCureBerry
if_equal 3, .Bitterberry
ifequal 0, .Berry
ifequal 1, .PsnCureBerry
ifequal 2, .PrzCureBerry
ifequal 3, .Bitterberry
.Berry:
setevent EVENT_WADE_HAS_BERRY
@ -784,7 +784,7 @@ RalphPhoneScript1:
checkflag ENGINE_RALPH_WEDNESDAY_MORNING
iftrue Ralph_CheckSwarm
checkcode VAR_WEEKDAY
if_not_equal WEDNESDAY, Ralph_CheckSwarm
ifnotequal WEDNESDAY, Ralph_CheckSwarm
checkmorn
iftrue Ralph_WednesdayMorning
Ralph_CheckSwarm:
@ -810,10 +810,10 @@ RalphPhoneScript2:
checkflag ENGINE_RALPH_WEDNESDAY_MORNING
iftrue Ralph_CheckSwarm2
farscall PhoneScript_Random2
if_equal 0, Ralph_FightMe
ifequal 0, Ralph_FightMe
Ralph_CheckSwarm2:
farscall PhoneScript_Random5
if_equal 0, Ralph_SetUpSwarm
ifequal 0, Ralph_SetUpSwarm
farjump Phone_GenericCall_Male
Ralph_WednesdayMorning:
@ -846,7 +846,7 @@ LizPhoneScript1:
checkflag ENGINE_LIZ_THURSDAY_AFTERNOON
iftrue .NotThursday
checkcode VAR_WEEKDAY
if_not_equal THURSDAY, .NotThursday
ifnotequal THURSDAY, .NotThursday
checkday
iftrue LizThursdayAfternoon
@ -861,7 +861,7 @@ LizPhoneScript1:
LizPhoneScript2:
trainertotext PICNICKER, LIZ1, MEM_BUFFER_0
farscall PhoneScript_Random4
if_equal 0, LizWrongNumber
ifequal 0, LizWrongNumber
farscall PhoneScript_GreetPhone_Female
checkflag ENGINE_LIZ
iftrue .next
@ -870,11 +870,11 @@ LizPhoneScript2:
.next:
farscall PhoneScript_Random2
if_equal 0, LizGossip
ifequal 0, LizGossip
checkflag ENGINE_FLYPOINT_GOLDENROD
iffalse .Generic
farscall PhoneScript_Random2
if_equal 0, LizWantsBattle
ifequal 0, LizWantsBattle
.Generic:
farjump Phone_GenericCall_Female
@ -892,15 +892,15 @@ LizWrongNumber:
LizGossip:
random 9
if_equal 0, .CoolTrainerM
if_equal 1, .Beauty
if_equal 2, .Grunt
if_equal 3, .Teacher
if_equal 4, .SwimmerF
if_equal 5, .KimonoGirl
if_equal 6, .Skier
if_equal 7, .Medium
if_equal 8, .PokefanM
ifequal 0, .CoolTrainerM
ifequal 1, .Beauty
ifequal 2, .Grunt
ifequal 3, .Teacher
ifequal 4, .SwimmerF
ifequal 5, .KimonoGirl
ifequal 6, .Skier
ifequal 7, .Medium
ifequal 8, .PokefanM
.CoolTrainerM:
trainerclassname COOLTRAINERM, NICK
@ -951,7 +951,7 @@ AnthonyPhoneScript1:
checkflag ENGINE_ANTHONY_FRIDAY_NIGHT
iftrue .NotFriday
checkcode VAR_WEEKDAY
if_not_equal FRIDAY, .NotFriday
ifnotequal FRIDAY, .NotFriday
checknite
iftrue AnthonyFridayNight
@ -978,11 +978,11 @@ AnthonyPhoneScript2:
checkflag ENGINE_ANTHONY_FRIDAY_NIGHT
iftrue .TriesSwarm
farscall PhoneScript_Random2
if_equal 0, AnthonyWantsBattle
ifequal 0, AnthonyWantsBattle
.TriesSwarm:
farscall PhoneScript_Random5
if_equal 0, AnthonyTriesDunsparceSwarm
ifequal 0, AnthonyTriesDunsparceSwarm
farjump Phone_GenericCall_Male
AnthonyFridayNight:
@ -1015,7 +1015,7 @@ ToddPhoneScript1:
checkflag ENGINE_TODD_SATURDAY_MORNING
iftrue .NotSaturday
checkcode VAR_WEEKDAY
if_not_equal SATURDAY, .NotSaturday
ifnotequal SATURDAY, .NotSaturday
checkmorn
iftrue ToddSaturdayMorning
@ -1041,15 +1041,15 @@ ToddPhoneScript2:
checkflag ENGINE_FLYPOINT_GOLDENROD
iffalse ToddNoGoldenrod
farscall PhoneScript_Random2
if_equal 0, ToddWantsBattle
ifequal 0, ToddWantsBattle
.TryForSale:
farscall PhoneScript_Random2
if_equal 0, ToddDeptStoreSale
ifequal 0, ToddDeptStoreSale
ToddNoGoldenrod:
farscall PhoneScript_Random3
if_equal 0, ToddFoundRare
ifequal 0, ToddFoundRare
farjump Phone_GenericCall_Male
ToddSaturdayMorning:
@ -1079,7 +1079,7 @@ GinaPhoneScript1:
checkflag ENGINE_GINA_HAS_LEAF_STONE
iftrue .HasLeafStone
checkcode VAR_WEEKDAY
if_not_equal SUNDAY, .NotSunday
ifnotequal SUNDAY, .NotSunday
checkday
iftrue GinaSundayDay
@ -1113,15 +1113,15 @@ GinaPhoneScript2:
checkevent EVENT_GINA_GAVE_LEAF_STONE
iftrue .GaveLeafStone
farscall PhoneScript_Random2
if_equal 0, GinaHasLeafStone
ifequal 0, GinaHasLeafStone
.GaveLeafStone:
farscall PhoneScript_Random11
if_equal 0, GinaHasLeafStone
ifequal 0, GinaHasLeafStone
checkflag ENGINE_FLYPOINT_GOLDENROD
iffalse .Generic
farscall PhoneScript_Random3
if_equal 0, GinaWantsBattle
ifequal 0, GinaWantsBattle
.Generic:
farjump Phone_GenericCall_Female
@ -1174,7 +1174,7 @@ ArniePhoneScript1:
checkflag ENGINE_ARNIE_TUESDAY_MORNING
iftrue .NotTuesday
checkcode VAR_WEEKDAY
if_not_equal TUESDAY, .NotTuesday
ifnotequal TUESDAY, .NotTuesday
checkmorn
iftrue ArnieTuesdayMorning
@ -1199,13 +1199,13 @@ ArniePhoneScript2:
checkflag ENGINE_ARNIE_TUESDAY_MORNING
iftrue .Swarm
farscall PhoneScript_Random2
if_equal 0, ArnieWantsBattle
ifequal 0, ArnieWantsBattle
.Swarm:
farscall PhoneScript_Random5
if_equal 0, ArnieYanmaSwarm
ifequal 0, ArnieYanmaSwarm
farscall PhoneScript_Random3
if_equal 0, ArnieFoundRare
ifequal 0, ArnieFoundRare
farjump Phone_GenericCall_Male
ArnieTuesdayMorning:
@ -1243,7 +1243,7 @@ AlanPhoneScript1:
checkflag ENGINE_ALAN_HAS_FIRE_STONE
iftrue .FireStone
checkcode VAR_WEEKDAY
if_not_equal WEDNESDAY, .NotWednesday
ifnotequal WEDNESDAY, .NotWednesday
checkday
iftrue AlanWednesdayDay
@ -1268,15 +1268,15 @@ AlanPhoneScript2:
checkflag ENGINE_ALAN_HAS_FIRE_STONE
iftrue AlanGenericCall
farscall PhoneScript_Random3
if_equal 0, AlanWantsBattle
ifequal 0, AlanWantsBattle
checkevent EVENT_ALAN_GAVE_FIRE_STONE
iftrue .FireStone
farscall PhoneScript_Random2
if_equal 0, AlanHasFireStone
ifequal 0, AlanHasFireStone
.FireStone:
farscall PhoneScript_Random11
if_equal 0, AlanHasFireStone
ifequal 0, AlanHasFireStone
AlanGenericCall:
farjump Phone_GenericCall_Male
@ -1306,7 +1306,7 @@ DanaPhoneScript1:
checkflag ENGINE_DANA_HAS_THUNDERSTONE
iftrue .HasThunderstone
checkcode VAR_WEEKDAY
if_not_equal THURSDAY, .NotThursday
ifnotequal THURSDAY, .NotThursday
checknite
iftrue DanaThursdayNight
@ -1331,19 +1331,19 @@ DanaPhoneScript2:
checkflag ENGINE_DANA_HAS_THUNDERSTONE
iftrue .Generic
farscall PhoneScript_Random3
if_equal 0, DanaWantsBattle
ifequal 0, DanaWantsBattle
checkevent EVENT_DANA_GAVE_THUNDERSTONE
iftrue .Thunderstone
farscall PhoneScript_Random2
if_equal 0, DanaHasThunderstone
ifequal 0, DanaHasThunderstone
.Thunderstone:
farscall PhoneScript_Random11
if_equal 0, DanaHasThunderstone
ifequal 0, DanaHasThunderstone
.Generic:
farscall PhoneScript_Random3
if_equal 0, DanaFoundRare
ifequal 0, DanaFoundRare
farjump Phone_GenericCall_Female
DanaThursdayNight:
@ -1372,7 +1372,7 @@ ChadPhoneScript1:
checkflag ENGINE_CHAD_FRIDAY_MORNING
iftrue .NotFriday
checkcode VAR_WEEKDAY
if_not_equal FRIDAY, .NotFriday
ifnotequal FRIDAY, .NotFriday
checkmorn
iftrue ChadFridayMorning
@ -1387,17 +1387,17 @@ ChadPhoneScript2:
trainertotext SCHOOLBOY, CHAD1, MEM_BUFFER_0
farscall PhoneScript_GreetPhone_Male
farscall PhoneScript_Random2
if_equal 0, ChadOakGossip
ifequal 0, ChadOakGossip
checkflag ENGINE_CHAD
iftrue .Generic
checkflag ENGINE_CHAD_FRIDAY_MORNING
iftrue .Generic
farscall PhoneScript_Random2
if_equal 0, ChadWantsBattle
ifequal 0, ChadWantsBattle
.Generic:
farscall PhoneScript_Random3
if_equal 0, ChadFoundRare
ifequal 0, ChadFoundRare
farjump Phone_GenericCall_Male
ChadFridayMorning:
@ -1420,13 +1420,13 @@ DerekPhoneScript1:
checkflag ENGINE_DEREK_HAS_NUGGET
iftrue .Nugget
farscall PhoneScript_Random2
if_equal 0, .NoContest
ifequal 0, .NoContest
checkflag ENGINE_DAILY_BUG_CONTEST
iftrue .NoContest
checkcode VAR_WEEKDAY
if_equal TUESDAY, .ContestToday
if_equal THURSDAY, .ContestToday
if_equal SATURDAY, .ContestToday
ifequal TUESDAY, .ContestToday
ifequal THURSDAY, .ContestToday
ifequal SATURDAY, .ContestToday
.NoContest:
farjump UnknownScript_0xa0988
@ -1442,17 +1442,17 @@ DerekPhoneScript2:
trainertotext POKEFANM, DEREK1, MEM_BUFFER_0
farscall PhoneScript_GreetPhone_Male
farscall PhoneScript_Random2
if_equal 0, .NoContest
ifequal 0, .NoContest
checkflag ENGINE_DAILY_BUG_CONTEST
iftrue .NoContest
checkcode VAR_WEEKDAY
if_equal TUESDAY, .ContestToday
if_equal THURSDAY, .ContestToday
if_equal SATURDAY, .ContestToday
ifequal TUESDAY, .ContestToday
ifequal THURSDAY, .ContestToday
ifequal SATURDAY, .ContestToday
.NoContest:
farscall PhoneScript_Random4
if_equal 0, .Nugget
ifequal 0, .Nugget
farjump Phone_GenericCall_Male
.ContestToday:
@ -1473,7 +1473,7 @@ TullyPhoneScript1:
checkflag ENGINE_TULLY_HAS_WATER_STONE
iftrue TullyHasWaterStone
checkcode VAR_WEEKDAY
if_not_equal SUNDAY, .NotSunday
ifnotequal SUNDAY, .NotSunday
checknite
iftrue TullySundayNight
@ -1498,15 +1498,15 @@ TullyPhoneScript2:
checkflag ENGINE_TULLY_HAS_WATER_STONE
iftrue .Generic
farscall PhoneScript_Random3
if_equal 0, TullyWantsBattle
ifequal 0, TullyWantsBattle
checkevent EVENT_TULLY_GAVE_WATER_STONE
iftrue .WaterStone
farscall PhoneScript_Random2
if_equal 0, TullyFoundWaterStone
ifequal 0, TullyFoundWaterStone
.WaterStone:
farscall PhoneScript_Random11
if_equal 0, TullyFoundWaterStone
ifequal 0, TullyFoundWaterStone
.Generic:
farjump Phone_GenericCall_Male
@ -1532,7 +1532,7 @@ BrentPhoneScript1:
checkflag ENGINE_BRENT_MONDAY_MORNING
iftrue .NotMonday
checkcode VAR_WEEKDAY
if_not_equal MONDAY, .NotMonday
ifnotequal MONDAY, .NotMonday
checkmorn
iftrue BrentMondayMorning
@ -1547,13 +1547,13 @@ BrentPhoneScript2:
trainertotext POKEMANIAC, BRENT1, MEM_BUFFER_0
farscall PhoneScript_GreetPhone_Male
farscall PhoneScript_Random2
if_equal 0, BrentBillTrivia
ifequal 0, BrentBillTrivia
checkflag ENGINE_BRENT
iftrue .Generic
checkflag ENGINE_BRENT_MONDAY_MORNING
iftrue .Generic
farscall PhoneScript_Random2
if_equal 0, BrentWantsBattle
ifequal 0, BrentWantsBattle
.Generic:
farjump Phone_GenericCall_Male
@ -1579,7 +1579,7 @@ TiffanyPhoneScript1:
checkflag ENGINE_TIFFANY_HAS_PINK_BOW
iftrue .HasItem
checkcode VAR_WEEKDAY
if_not_equal TUESDAY, .NotTuesday
ifnotequal TUESDAY, .NotTuesday
checkday
iftrue TiffanyTuesdayAfternoon
@ -1597,7 +1597,7 @@ TiffanyPhoneScript1:
TiffanyPhoneScript2:
trainertotext PICNICKER, TIFFANY3, MEM_BUFFER_0
farscall PhoneScript_Random4
if_equal 0, TiffanysFamilyMembers
ifequal 0, TiffanysFamilyMembers
farscall PhoneScript_GreetPhone_Female
checkflag ENGINE_TIFFANY
iftrue TiffanyGenericCall
@ -1606,15 +1606,15 @@ TiffanyPhoneScript2:
checkflag ENGINE_TIFFANY_HAS_PINK_BOW
iftrue TiffanyGenericCall
farscall PhoneScript_Random3
if_equal 0, TiffanyWantsBattle
ifequal 0, TiffanyWantsBattle
checkevent EVENT_TIFFANY_GAVE_PINK_BOW
iftrue .PinkBow
farscall PhoneScript_Random2
if_equal 0, TiffanyHasPinkBow
ifequal 0, TiffanyHasPinkBow
.PinkBow:
farscall PhoneScript_Random11
if_equal 0, TiffanyHasPinkBow
ifequal 0, TiffanyHasPinkBow
TiffanyGenericCall:
farjump Phone_GenericCall_Female
@ -1629,12 +1629,12 @@ TiffanyWantsBattle:
TiffanysFamilyMembers:
random 6
if_equal 0, .Grandma
if_equal 1, .Grandpa
if_equal 2, .Mom
if_equal 3, .Dad
if_equal 4, .Sister
if_equal 5, .Brother
ifequal 0, .Grandma
ifequal 1, .Grandpa
ifequal 2, .Mom
ifequal 3, .Dad
ifequal 4, .Sister
ifequal 5, .Brother
.Grandma:
stringtotext GrandmaString, MEM_BUFFER_1
@ -1678,7 +1678,7 @@ VancePhoneScript1:
checkflag ENGINE_VANCE_WEDNESDAY_NIGHT
iftrue .NotWednesday
checkcode VAR_WEEKDAY
if_not_equal WEDNESDAY, .NotWednesday
ifnotequal WEDNESDAY, .NotWednesday
checknite
iftrue VanceWednesdayNight
@ -1697,8 +1697,8 @@ VancePhoneScript2:
checkflag ENGINE_VANCE_WEDNESDAY_NIGHT
iftrue .WantsBattle
farscall PhoneScript_Random3
if_equal 0, VanceWantsRematch
if_equal 1, VanceWantsRematch
ifequal 0, VanceWantsRematch
ifequal 1, VanceWantsRematch
.WantsBattle:
farjump Phone_GenericCall_Male
@ -1721,7 +1721,7 @@ WiltonPhoneScript1:
checkflag ENGINE_WILTON_HAS_ITEM
iftrue .HasItem
checkcode VAR_WEEKDAY
if_not_equal THURSDAY, .NotThursday
ifnotequal THURSDAY, .NotThursday
checkmorn
iftrue WiltonThursdayMorning
@ -1746,9 +1746,9 @@ WiltonPhoneScript2:
checkflag ENGINE_WILTON_HAS_ITEM
iftrue .GenericCall
farscall PhoneScript_Random2
if_equal 0, WiltonWantsBattle
ifequal 0, WiltonWantsBattle
farscall PhoneScript_Random2
if_equal 0, WiltonHasItem
ifequal 0, WiltonHasItem
.GenericCall:
farjump Phone_GenericCall_Male
@ -1768,9 +1768,9 @@ WiltonHasItem:
clearevent EVENT_WILTON_HAS_GREAT_BALL
clearevent EVENT_WILTON_HAS_POKE_BALL
random 5
if_equal 0, .UltraBall
ifequal 0, .UltraBall
random 3
if_equal 0, .GreatBall
ifequal 0, .GreatBall
jump .PokeBall
.UltraBall:
@ -1809,7 +1809,7 @@ ParryPhoneScript1:
checkflag ENGINE_PARRY_FRIDAY_AFTERNOON
iftrue .WantsRematch
checkcode VAR_WEEKDAY
if_not_equal FRIDAY, .WantsRematch
ifnotequal FRIDAY, .WantsRematch
checkday
iftrue ParryFridayDay
@ -1828,8 +1828,8 @@ ParryPhoneScript2:
checkflag ENGINE_PARRY_FRIDAY_AFTERNOON
iftrue .GenericCall
farscall PhoneScript_Random2
if_equal 0, ParryWantsBattle
if_equal 1, ParryWantsBattle
ifequal 0, ParryWantsBattle
ifequal 1, ParryWantsBattle
.GenericCall:
farjump Phone_GenericCall_Male
@ -1852,7 +1852,7 @@ ErinPhoneScript1:
checkflag ENGINE_ERIN_SATURDAY_NIGHT
iftrue .NotSaturday
checkcode VAR_WEEKDAY
if_not_equal SATURDAY, .NotSaturday
ifnotequal SATURDAY, .NotSaturday
checknite
iftrue ErinSaturdayNight
@ -1871,8 +1871,8 @@ ErinPhoneScript2:
checkflag ENGINE_ERIN_SATURDAY_NIGHT
iftrue .GenericCall
farscall PhoneScript_Random3
if_equal 0, ErinWantsBattle
if_equal 1, ErinWantsBattle
ifequal 0, ErinWantsBattle
ifequal 1, ErinWantsBattle
.GenericCall:
farjump Phone_GenericCall_Female

View File

@ -71,12 +71,12 @@ ScriptCommandTable:
dw Script_jump ; 03
dw Script_farjump ; 04
dw Script_ptjump ; 05
dw Script_if_equal ; 06
dw Script_if_not_equal ; 07
dw Script_ifequal ; 06
dw Script_ifnotequal ; 07
dw Script_iffalse ; 08
dw Script_iftrue ; 09
dw Script_if_greater_than ; 0a
dw Script_if_less_than ; 0b
dw Script_ifgreater ; 0a
dw Script_ifless ; 0b
dw Script_jumpstd ; 0c
dw Script_callstd ; 0d
dw Script_callasm ; 0e
@ -136,7 +136,7 @@ ScriptCommandTable:
dw Script_stringtotext ; 44
dw Script_itemnotify ; 45
dw Script_pocketisfull ; 46
dw Script_textbox ; 47
dw Script_opentext ; 47
dw Script_refreshscreen ; 48
dw Script_closetext ; 49
dw Script_loadbytec2cf ; 4a
@ -169,8 +169,8 @@ endc
dw Script_trainerflagaction ; 63
dw Script_winlosstext ; 64
dw Script_scripttalkafter ; 65
dw Script_end_if_just_battled ; 66
dw Script_check_just_battled ; 67
dw Script_endifjustbattled ; 66
dw Script_checkjustbattled ; 67
dw Script_setlasttalked ; 68
dw Script_applymovement ; 69
dw Script_applymovement2 ; 6a
@ -214,7 +214,7 @@ endc
dw Script_return ; 90
dw Script_end ; 91
dw Script_reloadandreturn ; 92
dw Script_end_all ; 93
dw Script_endall ; 93
dw Script_pokemart ; 94
dw Script_elevator ; 95
dw Script_trade ; 96
@ -236,7 +236,7 @@ endc
dw Script_trainerclassname ; a6
dw Script_name ; a7
dw Script_wait ; a8
dw Script_check_save ; a9
dw Script_checksave ; a9
StartScript:
ld hl, ScriptFlags
@ -839,7 +839,7 @@ Script_winlosstext:
ld [hli], a
ret
Script_end_if_just_battled:
Script_endifjustbattled:
; script command 0x66
ld a, [wRunningTrainerBattleScript]
@ -847,7 +847,7 @@ Script_end_if_just_battled:
ret z
jp Script_end
Script_check_just_battled:
Script_checkjustbattled:
; script command 0x67
ld a, TRUE
@ -1561,7 +1561,7 @@ Script_iftrue:
jp nz, Script_jump
jp SkipTwoScriptBytes
Script_if_equal:
Script_ifequal:
; script command 0x6
; parameters: byte, pointer
@ -1571,7 +1571,7 @@ Script_if_equal:
jr z, Script_jump
jr SkipTwoScriptBytes
Script_if_not_equal:
Script_ifnotequal:
; script command 0x7
; parameters: byte, pointer
@ -1581,7 +1581,7 @@ Script_if_not_equal:
jr nz, Script_jump
jr SkipTwoScriptBytes
Script_if_greater_than:
Script_ifgreater:
; script command 0xa
; parameters: byte, pointer
@ -1592,7 +1592,7 @@ Script_if_greater_than:
jr c, Script_jump
jr SkipTwoScriptBytes
Script_if_less_than:
Script_ifless:
; script command 0xb
; parameters: byte, pointer
@ -2646,7 +2646,7 @@ Script_reloadandreturn:
call Script_newloadmap
jp Script_end
Script_textbox:
Script_opentext:
; script command 0x47
call OpenText
@ -2787,7 +2787,7 @@ ExitScriptSubroutine:
scf
ret
Script_end_all:
Script_endall:
; script command 0x93
xor a
@ -2817,7 +2817,7 @@ Script_credits:
farcall RedCredits
ReturnFromCredits:
call Script_end_all
call Script_endall
ld a, $3
call LoadMapStatus
call StopScript
@ -2839,7 +2839,7 @@ Script_wait:
pop bc
ret
Script_check_save:
Script_checksave:
; script command 0xa9
farcall CheckSave

View File

@ -37,16 +37,16 @@ ptjump: MACRO
dw \1 ; pointer
ENDM
enum if_equal_command ; $06
if_equal: MACRO
db if_equal_command
enum ifequal_command ; $06
ifequal: MACRO
db ifequal_command
db \1 ; byte
dw \2 ; pointer
ENDM
enum if_not_equal_command ; $07
if_not_equal: MACRO
db if_not_equal_command
enum ifnotequal_command ; $07
ifnotequal: MACRO
db ifnotequal_command
db \1 ; byte
dw \2 ; pointer
ENDM
@ -63,16 +63,16 @@ iftrue: MACRO
dw \1 ; pointer
ENDM
enum if_greater_than_command ; $0a
if_greater_than: MACRO
db if_greater_than_command
enum ifgreater_command ; $0a
ifgreater: MACRO
db ifgreater_command
db \1 ; byte
dw \2 ; pointer
ENDM
enum if_less_than_command ; $0b
if_less_than: MACRO
db if_less_than_command
enum ifless_command ; $0b
ifless: MACRO
db ifless_command
db \1 ; byte
dw \2 ; pointer
ENDM
@ -298,20 +298,20 @@ givepoke: MACRO
db givepoke_command
db \1 ; pokemon
db \2 ; level
if _NARG >= 3
if _NARG >= 3
db \3 ; item
if _NARG >= 4
if _NARG >= 4
db \4 ; trainer
if \4
if \4
dw \5 ; trainer_name_pointer
dw \6 ; pkmn_nickname
endc
else
endc
else
db 0
endc
else
endc
else
db 0, 0
endc
endc
ENDM
enum giveegg_command ; $2e
@ -651,14 +651,14 @@ scripttalkafter: MACRO
db scripttalkafter_command
ENDM
enum end_if_just_battled_command ; $66
end_if_just_battled: MACRO
db end_if_just_battled_command
enum endifjustbattled_command ; $66
endifjustbattled: MACRO
db endifjustbattled_command
ENDM
enum check_just_battled_command ; $67
check_just_battled: MACRO
db check_just_battled_command
enum checkjustbattled_command ; $67
checkjustbattled: MACRO
db checkjustbattled_command
ENDM
enum setlasttalked_command ; $68
@ -920,9 +920,9 @@ reloadandreturn: MACRO
db \1 ; which_method
ENDM
enum end_all_command ; $93
end_all: MACRO
db end_all_command
enum endall_command ; $93
endall: MACRO
db endall_command
ENDM
enum pokemart_command ; $94
@ -1062,7 +1062,7 @@ wait: MACRO
db \1 ; duration
ENDM
enum check_save_command ; $a9
check_save: MACRO
db check_save_command
enum checksave_command ; $a9
checksave: MACRO
db checksave_command
ENDM

View File

@ -57,8 +57,8 @@ AzaleaGymBugsyScript:
end
AzaleaGymActivateRockets:
if_equal 7, .RadioTowerRockets
if_equal 6, .GoldenrodRockets
ifequal 7, .RadioTowerRockets
ifequal 6, .GoldenrodRockets
end
.GoldenrodRockets:
@ -71,7 +71,7 @@ TrainerTwinsAmyandmay1:
trainer TWINS, AMYANDMAY1, EVENT_BEAT_TWINS_AMY_AND_MAY, TwinsAmyandmay1SeenText, TwinsAmyandmay1BeatenText, 0, .AfterScript
.AfterScript:
end_if_just_battled
endifjustbattled
opentext
writetext TwinsAmyandmay1AfterBattleText
waitbutton
@ -82,7 +82,7 @@ TrainerTwinsAmyandmay2:
trainer TWINS, AMYANDMAY2, EVENT_BEAT_TWINS_AMY_AND_MAY, TwinsAmyandmay2SeenText, TwinsAmyandmay2BeatenText, 0, .AfterScript
.AfterScript:
end_if_just_battled
endifjustbattled
opentext
writetext TwinsAmyandmay2AfterBattleText
waitbutton
@ -93,7 +93,7 @@ TrainerBugCatcherBenny:
trainer BUG_CATCHER, BUG_CATCHER_BENNY, EVENT_BEAT_BUG_CATCHER_BENNY, BugCatcherBennySeenText, BugCatcherBennyBeatenText, 0, .AfterScript
.AfterScript:
end_if_just_battled
endifjustbattled
opentext
writetext BugCatcherBennyAfterBattleText
waitbutton
@ -104,7 +104,7 @@ TrainerBugCatcherAl:
trainer BUG_CATCHER, AL, EVENT_BEAT_BUG_CATCHER_AL, BugCatcherAlSeenText, BugCatcherAlBeatenText, 0, .AfterScript
.AfterScript:
end_if_just_battled
endifjustbattled
opentext
writetext BugCatcherAlAfterBattleText
waitbutton
@ -115,7 +115,7 @@ TrainerBugCatcherJosh:
trainer BUG_CATCHER, JOSH, EVENT_BEAT_BUG_CATCHER_JOSH, BugCatcherJoshSeenText, BugCatcherJoshBeatenText, 0, .AfterScript
.AfterScript:
end_if_just_battled
endifjustbattled
opentext
writetext BugCatcherJoshAfterBattleText
waitbutton

View File

@ -18,10 +18,10 @@ BattleTower1F_MapScripts:
iffalse .SkipEverything
writebyte BATTLETOWERACTION_GET_CHALLENGE_STATE ; copybytetovar sBattleTowerChallengeState
special BattleTowerAction
if_equal $0, .SkipEverything
if_equal $2, .priorityjump1
if_equal $3, .SkipEverything
if_equal $4, .SkipEverything
ifequal $0, .SkipEverything
ifequal $2, .priorityjump1
ifequal $3, .SkipEverything
ifequal $4, .SkipEverything
opentext
writetext Text_WeveBeenWaitingForYou
waitbutton
@ -54,28 +54,28 @@ UnknownScript_0x9e3e0:
ReceptionistScript_0x9e3e2:
writebyte BATTLETOWERACTION_GET_CHALLENGE_STATE ; copybytetovar sBattleTowerChallengeState
special BattleTowerAction
if_equal $3, Script_BeatenAllTrainers2 ; maps/BattleTowerBattleRoom.asm
ifequal $3, Script_BeatenAllTrainers2 ; maps/BattleTowerBattleRoom.asm
opentext
writetext Text_BattleTowerWelcomesYou
buttonsound
writebyte BATTLETOWERACTION_CHECK_EXPLANATION_READ ; if new save file: bit 1, [sBattleTowerSaveFileFlags]
special BattleTowerAction
if_not_equal $0, Script_Menu_ChallengeExplanationCancel
ifnotequal $0, Script_Menu_ChallengeExplanationCancel
jump Script_BattleTowerIntroductionYesNo
Script_Menu_ChallengeExplanationCancel: ; 0x9e3fc
writetext Text_WantToGoIntoABattleRoom
writebyte TRUE
special Menu_ChallengeExplanationCancel
if_equal 1, Script_ChooseChallenge
if_equal 2, Script_BattleTowerExplanation
ifequal 1, Script_ChooseChallenge
ifequal 2, Script_BattleTowerExplanation
jump Script_BattleTowerHopeToServeYouAgain
Script_ChooseChallenge: ; 0x9e40f
writebyte BATTLETOWERACTION_RESETDATA ; ResetBattleTowerTrainerSRAM
special BattleTowerAction
special CheckForBattleTowerRules
if_not_equal FALSE, Script_WaitButton
ifnotequal FALSE, Script_WaitButton
writetext Text_SaveBeforeEnteringBattleRoom
yesorno
iffalse Script_Menu_ChallengeExplanationCancel
@ -86,8 +86,8 @@ Script_ChooseChallenge: ; 0x9e40f
writebyte BATTLETOWERACTION_SET_EXPLANATION_READ ; set 1, [sBattleTowerSaveFileFlags]
special BattleTowerAction
special BattleTowerRoomMenu
if_equal $a, Script_Menu_ChallengeExplanationCancel
if_not_equal $0, Script_MobileError
ifequal $a, Script_Menu_ChallengeExplanationCancel
ifnotequal $0, Script_MobileError
writebyte BATTLETOWERACTION_11
special BattleTowerAction
writetext Text_RightThisWayToYourBattleRoom
@ -122,7 +122,7 @@ Script_GivePlayerHisPrize: ; 0x9e47a
special BattleTowerAction
writebyte BATTLETOWERACTION_GIVEREWARD
special BattleTowerAction
if_equal POTION, Script_YourPackIsStuffedFull
ifequal POTION, Script_YourPackIsStuffedFull
itemtotext USE_SCRIPT_VAR, MEM_BUFFER_1
giveitem ITEM_FROM_MEM, 5
writetext Text_PlayerGotFive
@ -173,8 +173,8 @@ UnreferencedScript_0x9e4be:
writebyte BATTLETOWERACTION_SET_EXPLANATION_READ
special BattleTowerAction
special Function1700ba
if_equal $a, Script_Menu_ChallengeExplanationCancel
if_not_equal $0, Script_MobileError
ifequal $a, Script_Menu_ChallengeExplanationCancel
ifnotequal $0, Script_MobileError
writetext Text_ReceivedAListOfLeadersOnTheHonorRoll
spriteface BATTLETOWER1F_RECEPTIONIST, LEFT
writetext Text_PleaseConfirmOnThisMonitor
@ -186,15 +186,15 @@ UnreferencedScript_0x9e4be:
UnreferencedScript_0x9e4ea:
writebyte BATTLETOWERACTION_LEVEL_CHECK
special BattleTowerAction
if_not_equal $0, Script_APkmnLevelExceeds
ifnotequal $0, Script_APkmnLevelExceeds
writebyte BATTLETOWERACTION_UBERS_CHECK
special BattleTowerAction
if_not_equal $0, Script_MayNotEnterABattleRoomUnderL70
ifnotequal $0, Script_MayNotEnterABattleRoomUnderL70
special CheckForBattleTowerRules
if_not_equal FALSE, Script_WaitButton
ifnotequal FALSE, Script_WaitButton
writebyte BATTLETOWERACTION_05
special BattleTowerAction
if_equal $0, .zero
ifequal $0, .zero
writetext Text_CantBeRegistered_PreviousRecordDeleted
jump continue

View File

@ -33,9 +33,9 @@ Script_BattleRoomLoop: ; 0x9f425
special BattleTowerBattle ; calls predef startbattle
special FadeOutPalettes
reloadmap
if_not_equal $0, Script_FailedBattleTowerChallenge
ifnotequal $0, Script_FailedBattleTowerChallenge
copybytetovar wNrOfBeatenBattleTowerTrainers ; wcf64
if_equal BATTLETOWER_STREAK_LENGTH, Script_BeatenAllTrainers
ifequal BATTLETOWER_STREAK_LENGTH, Script_BeatenAllTrainers
applymovement BATTLETOWERBATTLEROOM_YOUNGSTER, MovementData_BattleTowerBattleRoomOpponentWalksOut
warpsound
disappear BATTLETOWERBATTLEROOM_YOUNGSTER

View File

@ -36,14 +36,14 @@ BattleTowerHallway_MapScripts:
; at least it should look like that
; because all warps lead to the same room
.WalkToChosenBattleRoom: ; 0x9f5dc
if_equal 3, .L30L40
if_equal 4, .L30L40
if_equal 5, .L50L60
if_equal 6, .L50L60
if_equal 7, .L70L80
if_equal 8, .L70L80
if_equal 9, .L90L100
if_equal 10, .L90L100
ifequal 3, .L30L40
ifequal 4, .L30L40
ifequal 5, .L50L60
ifequal 6, .L50L60
ifequal 7, .L70L80
ifequal 8, .L70L80
ifequal 9, .L90L100
ifequal 10, .L90L100
applymovement BATTLETOWERHALLWAY_RECEPTIONIST, MovementData_BattleTowerHallwayWalkTo1020Room
jump .EnterBattleRoom

View File

@ -20,7 +20,7 @@ BillScript:
buttonsound
waitsfx
checkcode VAR_PARTYCOUNT
if_equal PARTY_LENGTH, UnknownScript_0x54c13
ifequal PARTY_LENGTH, UnknownScript_0x54c13
writetext UnknownText_0x54dae
playsound SFX_CAUGHT_MON
waitsfx
@ -72,8 +72,8 @@ BillsSisterScript:
iftrue UnknownScript_0x54c58
writetext UnknownText_0x54f9e
askforphonenumber PHONE_BILL
if_equal PHONE_CONTACTS_FULL, UnknownScript_0x54c64
if_equal PHONE_CONTACT_REFUSED, UnknownScript_0x54c5e
ifequal PHONE_CONTACTS_FULL, UnknownScript_0x54c64
ifequal PHONE_CONTACT_REFUSED, UnknownScript_0x54c5e
waitsfx
addcellnum PHONE_BILL
writetext UnknownText_0x54fd9

View File

@ -37,7 +37,7 @@ BillsGrandpa:
scall .ExcitedToSee
special BillsGrandfather
iffalse .SaidNo
if_not_equal LICKITUNG, .WrongPokemon
ifnotequal LICKITUNG, .WrongPokemon
scall .CorrectPokemon
setevent EVENT_SHOWED_LICKITUNG_TO_BILLS_GRANDPA
jump .ShowedLickitung
@ -51,7 +51,7 @@ BillsGrandpa:
scall .ExcitedToSee
special BillsGrandfather
iffalse .SaidNo
if_not_equal ODDISH, .WrongPokemon
ifnotequal ODDISH, .WrongPokemon
scall .CorrectPokemon
setevent EVENT_SHOWED_ODDISH_TO_BILLS_GRANDPA
jump .ShowedOddish
@ -65,7 +65,7 @@ BillsGrandpa:
scall .ExcitedToSee
special BillsGrandfather
iffalse .SaidNo
if_not_equal STARYU, .WrongPokemon
ifnotequal STARYU, .WrongPokemon
scall .CorrectPokemon
setevent EVENT_SHOWED_STARYU_TO_BILLS_GRANDPA
jump .ShowedStaryu
@ -81,7 +81,7 @@ BillsGrandpa:
scall .ExcitedToSee
special BillsGrandfather
iffalse .SaidNo
if_not_equal GROWLITHE, .WrongPokemon
ifnotequal GROWLITHE, .WrongPokemon
scall .CorrectPokemon
setevent EVENT_SHOWED_GROWLITHE_VULPIX_TO_BILLS_GRANDPA
jump .ShowedGrowlitheVulpix
@ -95,7 +95,7 @@ BillsGrandpa:
scall .ExcitedToSee
special BillsGrandfather
iffalse .SaidNo
if_not_equal VULPIX, .WrongPokemon
ifnotequal VULPIX, .WrongPokemon
scall .CorrectPokemon
setevent EVENT_SHOWED_GROWLITHE_VULPIX_TO_BILLS_GRANDPA
jump .ShowedGrowlitheVulpix
@ -109,7 +109,7 @@ BillsGrandpa:
scall .ExcitedToSee
special BillsGrandfather
iffalse .SaidNo
if_not_equal PICHU, .WrongPokemon
ifnotequal PICHU, .WrongPokemon
scall .CorrectPokemon
setevent EVENT_SHOWED_PICHU_TO_BILLS_GRANDPA
jump .ShowedPichu

View File

@ -22,7 +22,7 @@ BlackthornCity_MapScripts:
.Santos:
checkcode VAR_WEEKDAY
if_equal SATURDAY, .SantosAppears
ifequal SATURDAY, .SantosAppears
disappear BLACKTHORNCITY_SANTOS
return
@ -91,7 +91,7 @@ SantosScript:
checkevent EVENT_GOT_SPELL_TAG_FROM_SANTOS
iftrue .Saturday
checkcode VAR_WEEKDAY
if_not_equal SATURDAY, .NotSaturday
ifnotequal SATURDAY, .NotSaturday
checkevent EVENT_MET_SANTOS_OF_SATURDAY
iftrue .MetSantos
writetext MeetSantosText

View File

@ -94,7 +94,7 @@ TrainerCooltrainermPaul:
trainer COOLTRAINERM, PAUL, EVENT_BEAT_COOLTRAINERM_PAUL, CooltrainermPaulSeenText, CooltrainermPaulBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext CooltrainermPaulAfterBattleText
waitbutton
@ -105,7 +105,7 @@ TrainerCooltrainermMike:
trainer COOLTRAINERM, MIKE, EVENT_BEAT_COOLTRAINERM_MIKE, CooltrainermMikeSeenText, CooltrainermMikeBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext CooltrainermMikeAfterBattleText
waitbutton
@ -116,7 +116,7 @@ TrainerCooltrainerfLola:
trainer COOLTRAINERF, LOLA, EVENT_BEAT_COOLTRAINERF_LOLA, CooltrainerfLolaSeenText, CooltrainerfLolaBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext CooltrainerfLolaAfterBattleText
waitbutton

View File

@ -60,7 +60,7 @@ TrainerCooltrainermCody:
trainer COOLTRAINERM, CODY, EVENT_BEAT_COOLTRAINERM_CODY, CooltrainermCodySeenText, CooltrainermCodyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext CooltrainermCodyAfterBattleText
waitbutton
@ -71,7 +71,7 @@ TrainerCooltrainerfFran:
trainer COOLTRAINERF, FRAN, EVENT_BEAT_COOLTRAINERF_FRAN, CooltrainerfFranSeenText, CooltrainerfFranBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext CooltrainerfFranAfterBattleText
waitbutton

View File

@ -10,7 +10,7 @@ DaisyScript:
faceplayer
opentext
checkcode VAR_HOUR
if_equal 15, .ThreePM
ifequal 15, .ThreePM
writetext DaisyHelloText
waitbutton
closetext
@ -25,8 +25,8 @@ DaisyScript:
writetext DaisyWhichMonText
waitbutton
special DaisysGrooming
if_equal $0, .Refused
if_equal $1, .CantGroomEgg
ifequal $0, .Refused
ifequal $1, .CantGroomEgg
setflag ENGINE_DAISYS_GROOMING
writetext DaisyAlrightText
waitbutton

View File

@ -104,7 +104,7 @@ BurnedTowerB1FEusine:
waitbutton
closetext
checkcode VAR_FACING
if_equal UP, .Movement
ifequal UP, .Movement
applymovement BURNEDTOWERB1F_EUSINE, BurnedTowerB1FEusineMovement1
jump UnknownScript_0x18622a

View File

@ -26,15 +26,15 @@ CeladonDeptStore6FVendingMachine:
loadmenuheader .MenuHeader
verticalmenu
closewindow
if_equal 1, .FreshWater
if_equal 2, .SodaPop
if_equal 3, .Lemonade
ifequal 1, .FreshWater
ifequal 2, .SodaPop
ifequal 3, .Lemonade
closetext
end
.FreshWater:
checkmoney YOUR_MONEY, 200
if_equal HAVE_LESS, .NotEnoughMoney
ifequal HAVE_LESS, .NotEnoughMoney
giveitem FRESH_WATER
iffalse .NotEnoughSpace
takemoney YOUR_MONEY, 200
@ -43,7 +43,7 @@ CeladonDeptStore6FVendingMachine:
.SodaPop:
checkmoney YOUR_MONEY, 300
if_equal HAVE_LESS, .NotEnoughMoney
ifequal HAVE_LESS, .NotEnoughMoney
giveitem SODA_POP
iffalse .NotEnoughSpace
takemoney YOUR_MONEY, 300
@ -52,7 +52,7 @@ CeladonDeptStore6FVendingMachine:
.Lemonade:
checkmoney YOUR_MONEY, 350
if_equal HAVE_LESS, .NotEnoughMoney
ifequal HAVE_LESS, .NotEnoughMoney
giveitem LEMONADE
iffalse .NotEnoughSpace
takemoney YOUR_MONEY, 350

View File

@ -57,7 +57,7 @@ CeladonGameCornerFisherScript:
checkitem COIN_CASE
iffalse .NoCoinCase
checkcoins MAX_COINS - 1
if_equal HAVE_MORE, .FullCoinCase
ifequal HAVE_MORE, .FullCoinCase
stringtotext .coinname, MEM_BUFFER_1
scall .GiveCoins
givecoins 18
@ -110,7 +110,7 @@ CeladonGameCornerPoster2Script:
CeladonGameCornerLuckySlotMachineScript:
random 6
if_equal 0, CeladonGameCornerSlotMachineScript
ifequal 0, CeladonGameCornerSlotMachineScript
refreshscreen
writebyte FALSE
special SlotMachine

View File

@ -26,14 +26,14 @@ CeladonPrizeRoom_tmcounterloop:
loadmenuheader CeladonPrizeRoom_TMMenuHeader
verticalmenu
closewindow
if_equal 1, .doubleteam
if_equal 2, .psychic
if_equal 3, .hyperbeam
ifequal 1, .doubleteam
ifequal 2, .psychic
ifequal 3, .hyperbeam
jump CeladonPrizeRoom_cancel
.doubleteam
checkcoins 1500
if_equal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
itemtotext TM_DOUBLE_TEAM, MEM_BUFFER_0
scall CeladonPrizeRoom_askbuy
iffalse CeladonPrizeRoom_cancel
@ -44,7 +44,7 @@ CeladonPrizeRoom_tmcounterloop:
.psychic
checkcoins 3500
if_equal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
itemtotext TM_PSYCHIC_M, MEM_BUFFER_0
scall CeladonPrizeRoom_askbuy
iffalse CeladonPrizeRoom_cancel
@ -55,7 +55,7 @@ CeladonPrizeRoom_tmcounterloop:
.hyperbeam
checkcoins 7500
if_equal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
itemtotext TM_HYPER_BEAM, MEM_BUFFER_0
scall CeladonPrizeRoom_askbuy
iffalse CeladonPrizeRoom_cancel
@ -127,16 +127,16 @@ CeladonGameCornerPrizeRoomPokemonVendor:
loadmenuheader .MenuHeader
verticalmenu
closewindow
if_equal 1, .pikachu
if_equal 2, .porygon
if_equal 3, .larvitar
ifequal 1, .pikachu
ifequal 2, .porygon
ifequal 3, .larvitar
jump CeladonPrizeRoom_cancel
.pikachu
checkcoins 2222
if_equal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
checkcode VAR_PARTYCOUNT
if_equal PARTY_LENGTH, CeladonPrizeRoom_notenoughroom
ifequal PARTY_LENGTH, CeladonPrizeRoom_notenoughroom
pokenamemem PIKACHU, MEM_BUFFER_0
scall CeladonPrizeRoom_askbuy
iffalse CeladonPrizeRoom_cancel
@ -152,9 +152,9 @@ CeladonGameCornerPrizeRoomPokemonVendor:
.porygon
checkcoins 5555
if_equal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
checkcode VAR_PARTYCOUNT
if_equal PARTY_LENGTH, CeladonPrizeRoom_notenoughroom
ifequal PARTY_LENGTH, CeladonPrizeRoom_notenoughroom
pokenamemem PORYGON, MEM_BUFFER_0
scall CeladonPrizeRoom_askbuy
iffalse CeladonPrizeRoom_cancel
@ -170,9 +170,9 @@ CeladonGameCornerPrizeRoomPokemonVendor:
.larvitar
checkcoins 8888
if_equal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
checkcode VAR_PARTYCOUNT
if_equal PARTY_LENGTH, CeladonPrizeRoom_notenoughroom
ifequal PARTY_LENGTH, CeladonPrizeRoom_notenoughroom
pokenamemem LARVITAR, MEM_BUFFER_0
scall CeladonPrizeRoom_askbuy
iffalse CeladonPrizeRoom_cancel

View File

@ -51,7 +51,7 @@ TrainerLassMichelle:
trainer LASS, MICHELLE, EVENT_BEAT_LASS_MICHELLE, LassMichelleSeenText, LassMichelleBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext LassMichelleAfterBattleText
waitbutton
@ -62,7 +62,7 @@ TrainerPicnickerTanya:
trainer PICNICKER, TANYA, EVENT_BEAT_PICNICKER_TANYA, PicnickerTanyaSeenText, PicnickerTanyaBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PicnickerTanyaAfterBattleText
waitbutton
@ -73,7 +73,7 @@ TrainerBeautyJulia:
trainer BEAUTY, JULIA, EVENT_BEAT_BEAUTY_JULIA, BeautyJuliaSeenText, BeautyJuliaBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BeautyJuliaAfterBattleText
waitbutton
@ -84,7 +84,7 @@ TrainerTwinsJoandzoe1:
trainer TWINS, JOANDZOE1, EVENT_BEAT_TWINS_JO_AND_ZOE, TwinsJoandzoe1SeenText, TwinsJoandzoe1BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext TwinsJoandzoe1AfterBattleText
waitbutton
@ -95,7 +95,7 @@ TrainerTwinsJoandzoe2:
trainer TWINS, JOANDZOE2, EVENT_BEAT_TWINS_JO_AND_ZOE, TwinsJoandzoe2SeenText, TwinsJoandzoe2BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext TwinsJoandzoe2AfterBattleText
waitbutton

View File

@ -14,7 +14,7 @@ CooltrainerMScript_0x71670:
opentext
writetext UnknownText_0x716ce
checkcode VAR_DEXCAUGHT
if_greater_than NUM_POKEMON - 2 - 1, UnknownScript_0x7167e ; ignore Mew and Celebi
ifgreater NUM_POKEMON - 2 - 1, UnknownScript_0x7167e ; ignore Mew and Celebi
waitbutton
closetext
end

View File

@ -43,7 +43,7 @@ CeladonEusine:
waitbutton
closetext
checkcode VAR_FACING
if_equal UP, .Location1
ifequal UP, .Location1
applymovement CELADONPOKECENTER1F_EUSINE, .Movement1
jump .Continue

View File

@ -87,7 +87,7 @@ TrainerSwimmerfDiana:
trainer SWIMMERF, DIANA, EVENT_BEAT_SWIMMERF_DIANA, SwimmerfDianaSeenText, SwimmerfDianaBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SwimmerfDianaAfterBattleText
waitbutton
@ -98,7 +98,7 @@ TrainerSwimmerfBriana:
trainer SWIMMERF, BRIANA, EVENT_BEAT_SWIMMERF_BRIANA, SwimmerfBrianaSeenText, SwimmerfBrianaBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SwimmerfBrianaAfterBattleText
waitbutton
@ -109,7 +109,7 @@ TrainerSwimmermParker:
trainer SWIMMERM, PARKER, EVENT_BEAT_SWIMMERM_PARKER, SwimmermParkerSeenText, SwimmermParkerBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SwimmermParkerAfterBattleText
waitbutton

View File

@ -74,8 +74,8 @@ ChuckScript_0x9d60f:
end
CianwoodGymActivateRockets:
if_equal 7, .RadioTowerRockets
if_equal 6, .GoldenrodRockets
ifequal 7, .RadioTowerRockets
ifequal 6, .GoldenrodRockets
end
.GoldenrodRockets:
@ -88,7 +88,7 @@ TrainerBlackbeltYoshi:
trainer BLACKBELT_T, YOSHI, EVENT_BEAT_BLACKBELT_YOSHI, BlackbeltYoshiSeenText, BlackbeltYoshiBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BlackbeltYoshiAfterText
waitbutton
@ -99,7 +99,7 @@ TrainerBlackbeltLao:
trainer BLACKBELT_T, LAO, EVENT_BEAT_BLACKBELT_LAO, BlackbeltLaoSeenText, BlackbeltLaoBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BlackbeltLaoAfterText
waitbutton
@ -110,7 +110,7 @@ TrainerBlackbeltNob:
trainer BLACKBELT_T, NOB, EVENT_BEAT_BLACKBELT_NOB, BlackbeltNobSeenText, BlackbeltNobBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BlackbeltNobAfterText
waitbutton
@ -121,7 +121,7 @@ TrainerBlackbeltLung:
trainer BLACKBELT_T, LUNG, EVENT_BEAT_BLACKBELT_LUNG, BlackbeltLungSeenText, BlackbeltLungBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BlackbeltLungAfterText
waitbutton

View File

@ -18,7 +18,7 @@ TrainerKimonoGirlNaoko2:
trainer KIMONO_GIRL, NAOKO2, EVENT_BEAT_KIMONO_GIRL_NAOKO, KimonoGirlNaoko2SeenText, KimonoGirlNaoko2BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext KimonoGirlNaoko2AfterBattleText
waitbutton
@ -29,7 +29,7 @@ TrainerKimonoGirlSayo:
trainer KIMONO_GIRL, SAYO, EVENT_BEAT_KIMONO_GIRL_SAYO, KimonoGirlSayoSeenText, KimonoGirlSayoBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext KimonoGirlSayoAfterBattleText
waitbutton
@ -40,7 +40,7 @@ TrainerKimonoGirlZuki:
trainer KIMONO_GIRL, ZUKI, EVENT_BEAT_KIMONO_GIRL_ZUKI, KimonoGirlZukiSeenText, KimonoGirlZukiBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext KimonoGirlZukiAfterBattleText
waitbutton
@ -51,7 +51,7 @@ TrainerKimonoGirlKuni:
trainer KIMONO_GIRL, KUNI, EVENT_BEAT_KIMONO_GIRL_KUNI, KimonoGirlKuniSeenText, KimonoGirlKuniBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext KimonoGirlKuniAfterBattleText
waitbutton
@ -62,7 +62,7 @@ TrainerKimonoGirlMiki:
trainer KIMONO_GIRL, MIKI, EVENT_BEAT_KIMONO_GIRL_MIKI, KimonoGirlMikiSeenText, KimonoGirlMikiBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext KimonoGirlMikiAfterBattleText
waitbutton

View File

@ -29,7 +29,7 @@ DayCareManScript_Inside:
buttonsound
closetext
checkcode VAR_PARTYCOUNT
if_equal PARTY_LENGTH, .PartyFull
ifequal PARTY_LENGTH, .PartyFull
special GiveOddEgg
opentext
writetext DayCareText_GotOddEgg

View File

@ -31,9 +31,9 @@ DragonShrine_MapScripts:
loadmenuheader DragonShrineQuestion1_MenuHeader
verticalmenu
closewindow
if_equal 1, .RightAnswer
if_equal 2, .WrongAnswer
if_equal 3, .RightAnswer
ifequal 1, .RightAnswer
ifequal 2, .WrongAnswer
ifequal 3, .RightAnswer
end
.Question2:
@ -43,9 +43,9 @@ DragonShrine_MapScripts:
loadmenuheader DragonShrineQuestion2_MenuHeader
verticalmenu
closewindow
if_equal 1, .RightAnswer
if_equal 2, .RightAnswer
if_equal 3, .WrongAnswer
ifequal 1, .RightAnswer
ifequal 2, .RightAnswer
ifequal 3, .WrongAnswer
.Question3:
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_4
writetext DragonShrineQuestion3Text
@ -53,9 +53,9 @@ DragonShrine_MapScripts:
loadmenuheader DragonShrineQuestion3_MenuHeader
verticalmenu
closewindow
if_equal 1, .WrongAnswer
if_equal 2, .RightAnswer
if_equal 3, .RightAnswer
ifequal 1, .WrongAnswer
ifequal 2, .RightAnswer
ifequal 3, .RightAnswer
.Question4:
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_5
writetext DragonShrineQuestion4Text
@ -63,9 +63,9 @@ DragonShrine_MapScripts:
loadmenuheader DragonShrineQuestion4_MenuHeader
verticalmenu
closewindow
if_equal 1, .RightAnswer
if_equal 2, .WrongAnswer
if_equal 3, .RightAnswer
ifequal 1, .RightAnswer
ifequal 2, .WrongAnswer
ifequal 3, .RightAnswer
.Question5:
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_6
writetext DragonShrineQuestion5Text
@ -73,9 +73,9 @@ DragonShrine_MapScripts:
loadmenuheader DragonShrineQuestion5_MenuHeader
verticalmenu
closewindow
if_equal 1, .WrongAnswer
if_equal 2, .RightAnswer
if_equal 3, .WrongAnswer
ifequal 1, .WrongAnswer
ifequal 2, .RightAnswer
ifequal 3, .WrongAnswer
.RightAnswer:
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_6
iftrue .PassedTheTest
@ -209,7 +209,7 @@ DragonShrineElder1Script:
writetext DragonShrineTakeThisDratiniText
waitbutton
checkcode VAR_PARTYCOUNT
if_equal PARTY_LENGTH, .PartyFull
ifequal PARTY_LENGTH, .PartyFull
writetext DragonShrinePlayerReceivedDratiniText
playsound SFX_CAUGHT_MON
waitsfx

View File

@ -31,8 +31,8 @@ DragonsDenB1F_MapScripts:
.CheckDay:
checkcode VAR_WEEKDAY
if_equal TUESDAY, .AppearSilver
if_equal THURSDAY, .AppearSilver
ifequal TUESDAY, .AppearSilver
ifequal THURSDAY, .AppearSilver
disappear DRAGONSDENB1F_SILVER
return
@ -85,7 +85,7 @@ TrainerCooltrainermDarin:
trainer COOLTRAINERM, DARIN, EVENT_BEAT_COOLTRAINERM_DARIN, CooltrainermDarinSeenText, CooltrainermDarinBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext CooltrainermDarinAfterBattleText
waitbutton
@ -96,7 +96,7 @@ TrainerCooltrainerfCara:
trainer COOLTRAINERF, CARA, EVENT_BEAT_COOLTRAINERF_CARA, CooltrainerfCaraSeenText, CooltrainerfCaraBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext CooltrainerfCaraAfterBattleText
waitbutton
@ -107,7 +107,7 @@ TrainerTwinsLeaandpia1:
trainer TWINS, LEAANDPIA1, EVENT_BEAT_TWINS_LEA_AND_PIA, TwinsLeaandpia1SeenText, TwinsLeaandpia1BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext TwinsLeaandpia1AfterBattleText
waitbutton
@ -118,7 +118,7 @@ TrainerTwinsLeaandpia2:
trainer TWINS, LEAANDPIA1, EVENT_BEAT_TWINS_LEA_AND_PIA, TwinsLeaandpia2SeenText, TwinsLeaandpia2BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext TwinsLeaandpia2AfterBattleText
waitbutton

View File

@ -67,11 +67,11 @@ AcademyBlackboard:
loadmenuheader .BlackboardMenuHeader
_2dmenu
closewindow
if_equal 1, .Poison
if_equal 2, .Paralysis
if_equal 3, .Sleep
if_equal 4, .Burn
if_equal 5, .Freeze
ifequal 1, .Poison
ifequal 2, .Paralysis
ifequal 3, .Sleep
ifequal 4, .Burn
ifequal 5, .Freeze
closetext
end

View File

@ -69,8 +69,8 @@ MortyScript_0x99d58:
end
EcruteakGymActivateRockets:
if_equal 7, .RadioTowerRockets
if_equal 6, .GoldenrodRockets
ifequal 7, .RadioTowerRockets
ifequal 6, .GoldenrodRockets
end
.GoldenrodRockets:
@ -99,7 +99,7 @@ TrainerSageJeffrey:
trainer SAGE, JEFFREY, EVENT_BEAT_SAGE_JEFFREY, SageJeffreySeenText, SageJeffreyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SageJeffreyAfterBattleText
waitbutton
@ -110,7 +110,7 @@ TrainerSagePing:
trainer SAGE, PING, EVENT_BEAT_SAGE_PING, SagePingSeenText, SagePingBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SagePingAfterBattleText
waitbutton
@ -121,7 +121,7 @@ TrainerMediumMartha:
trainer MEDIUM, MARTHA, EVENT_BEAT_MEDIUM_MARTHA, MediumMarthaSeenText, MediumMarthaBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext MediumMarthaAfterBattleText
waitbutton
@ -132,7 +132,7 @@ TrainerMediumGrace:
trainer MEDIUM, GRACE, EVENT_BEAT_MEDIUM_GRACE, MediumGraceSeenText, MediumGraceBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext MediumGraceAfterBattleText
waitbutton

View File

@ -181,7 +181,7 @@ CyndaquilPokeBallScript:
givepoke CYNDAQUIL, 5, BERRY
closetext
checkcode VAR_FACING
if_equal RIGHT, ElmDirectionsScript
ifequal RIGHT, ElmDirectionsScript
applymovement PLAYER, AfterCyndaquilMovement
jump ElmDirectionsScript
@ -420,19 +420,19 @@ ElmGiveTicketScript:
ElmJumpBackScript1:
closetext
checkcode VAR_FACING
if_equal DOWN, ElmJumpDownScript
if_equal UP, ElmJumpUpScript
if_equal LEFT, ElmJumpLeftScript
if_equal RIGHT, ElmJumpRightScript
ifequal DOWN, ElmJumpDownScript
ifequal UP, ElmJumpUpScript
ifequal LEFT, ElmJumpLeftScript
ifequal RIGHT, ElmJumpRightScript
end
ElmJumpBackScript2:
closetext
checkcode VAR_FACING
if_equal DOWN, ElmJumpUpScript
if_equal UP, ElmJumpDownScript
if_equal LEFT, ElmJumpRightScript
if_equal RIGHT, ElmJumpLeftScript
ifequal DOWN, ElmJumpUpScript
ifequal UP, ElmJumpDownScript
ifequal LEFT, ElmJumpRightScript
ifequal RIGHT, ElmJumpLeftScript
end
ElmJumpUpScript:

View File

@ -88,7 +88,7 @@ SailorScript_0x75160:
.LetThePlayerOut:
checkcode VAR_FACING
if_equal RIGHT, .YouAreFacingRight
ifequal RIGHT, .YouAreFacingRight
applymovement FASTSHIP1F_SAILOR1, MovementData_0x7520e
applymovement PLAYER, MovementData_0x75235
end

View File

@ -95,7 +95,7 @@ TrainerSailorJeff:
trainer SAILOR, JEFF, EVENT_BEAT_SAILOR_JEFF, SailorJeffSeenText, SailorJeffBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SailorJeffAfterBattleText
waitbutton
@ -106,7 +106,7 @@ TrainerPicnickerDebra:
trainer PICNICKER, DEBRA, EVENT_BEAT_PICNICKER_DEBRA, PicnickerDebraSeenText, PicnickerDebraBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PicnickerDebraAfterBattleText
waitbutton
@ -117,7 +117,7 @@ TrainerJugglerFritz:
trainer JUGGLER, FRITZ, EVENT_BEAT_JUGGLER_FRITZ, JugglerFritzSeenText, JugglerFritzBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext JugglerFritzAfterBattleText
waitbutton
@ -128,7 +128,7 @@ TrainerSailorGarrett:
trainer SAILOR, GARRETT, EVENT_BEAT_SAILOR_GARRETT, SailorGarrettSeenText, SailorGarrettBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SailorGarrettAfterBattleText
waitbutton
@ -139,7 +139,7 @@ TrainerFisherJonah:
trainer FISHER, JONAH, EVENT_BEAT_FISHER_JONAH, FisherJonahSeenText, FisherJonahBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext FisherJonahAfterBattleText
waitbutton
@ -150,7 +150,7 @@ TrainerBlackbeltWai:
trainer BLACKBELT_T, WAI, EVENT_BEAT_BLACKBELT_WAI, BlackbeltWaiSeenText, BlackbeltWaiBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BlackbeltWaiAfterBattleText
waitbutton
@ -161,7 +161,7 @@ TrainerSailorKenneth:
trainer SAILOR, KENNETH, EVENT_BEAT_SAILOR_KENNETH, SailorKennethSeenText, SailorKennethBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SailorKennethAfterBattleText
waitbutton
@ -172,7 +172,7 @@ TrainerTeacherShirley:
trainer TEACHER, SHIRLEY, EVENT_BEAT_TEACHER_SHIRLEY, TeacherShirleySeenText, TeacherShirleyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext TeacherShirleyAfterBattleText
waitbutton
@ -183,7 +183,7 @@ TrainerSchoolboyNate:
trainer SCHOOLBOY, NATE, EVENT_BEAT_SCHOOLBOY_NATE, SchoolboyNateSeenText, SchoolboyNateBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SchoolboyNateAfterBattleText
waitbutton
@ -194,7 +194,7 @@ TrainerSchoolboyRicky:
trainer SCHOOLBOY, RICKY, EVENT_BEAT_SCHOOLBOY_RICKY, SchoolboyRickySeenText, SchoolboyRickyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SchoolboyRickyAfterBattleText
waitbutton

View File

@ -16,7 +16,7 @@ TrainerCooltrainermSean:
trainer COOLTRAINERM, SEAN, EVENT_BEAT_COOLTRAINERM_SEAN, CooltrainermSeanSeenText, CooltrainermSeanBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext CooltrainermSeanAfterBattleText
waitbutton
@ -27,7 +27,7 @@ TrainerCooltrainerfCarol:
trainer COOLTRAINERF, CAROL, EVENT_BEAT_COOLTRAINERF_CAROL, CooltrainerfCarolSeenText, CooltrainerfCarolBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext CooltrainerfCarolAfterBattleText
waitbutton
@ -38,7 +38,7 @@ TrainerPokemaniacEthan:
trainer POKEMANIAC, ETHAN, EVENT_BEAT_POKEMANIAC_ETHAN, PokemaniacEthanSeenText, PokemaniacEthanBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PokemaniacEthanAfterBattleText
waitbutton
@ -49,7 +49,7 @@ TrainerHikerNoland:
trainer HIKER, NOLAND, EVENT_BEAT_HIKER_NOLAND, HikerNolandSeenText, HikerNolandBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext HikerNolandAfterBattleText
waitbutton
@ -60,7 +60,7 @@ TrainerGentlemanEdward:
trainer GENTLEMAN, EDWARD, EVENT_BEAT_GENTLEMAN_EDWARD, GentlemanEdwardSeenText, GentlemanEdwardBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GentlemanEdwardAfterBattleText
waitbutton
@ -71,7 +71,7 @@ TrainerBurglarCorey:
trainer BURGLAR, COREY, EVENT_BEAT_BURGLAR_COREY, BurglarCoreySeenText, BurglarCoreyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BurglarCoreyAfterBattleText
waitbutton
@ -98,7 +98,7 @@ SailorScript_0x755f1:
setevent EVENT_FAST_SHIP_LAZY_SAILOR
setmapscene FAST_SHIP_B1F, SCENE_FINISHED
checkcode VAR_FACING
if_equal RIGHT, UnknownScript_0x75629
ifequal RIGHT, UnknownScript_0x75629
applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, MovementData_0x75637
playsound SFX_EXIT_BUILDING
disappear FASTSHIPCABINS_NNW_NNE_NE_SAILOR

View File

@ -142,7 +142,7 @@ TrainerPokefanmColin:
trainer POKEFANM, COLIN, EVENT_BEAT_POKEFANM_COLIN, PokefanmColinSeenText, PokefanmColinBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PokefanmColinAfterBattleText
waitbutton
@ -153,7 +153,7 @@ TrainerTwinsMegandpeg1:
trainer TWINS, MEGANDPEG1, EVENT_BEAT_TWINS_MEG_AND_PEG, TwinsMegandpeg1SeenText, TwinsMegandpeg1BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext TwinsMegandpeg1AfterBattleText
waitbutton
@ -164,7 +164,7 @@ TrainerTwinsMegandpeg2:
trainer TWINS, MEGANDPEG2, EVENT_BEAT_TWINS_MEG_AND_PEG, TwinsMegandpeg2SeenText, TwinsMegandpeg2BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext TwinsMegandpeg2AfterBattleText
waitbutton
@ -175,7 +175,7 @@ TrainerPsychicRodney:
trainer PSYCHIC_T, RODNEY, EVENT_BEAT_PSYCHIC_RODNEY, PsychicRodneySeenText, PsychicRodneyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PsychicRodneyAfterBattleText
waitbutton
@ -186,7 +186,7 @@ TrainerPokefanmJeremy:
trainer POKEFANM, JEREMY, EVENT_BEAT_POKEFANM_JEREMY, PokefanmJeremySeenText, PokefanmJeremyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PokefanmJeremyAfterBattleText
waitbutton
@ -197,7 +197,7 @@ TrainerPokefanfGeorgia:
trainer POKEFANF, GEORGIA, EVENT_BEAT_POKEFANF_GEORGIA, PokefanfGeorgiaSeenText, PokefanfGeorgiaBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PokefanfGeorgiaAfterBattleText
waitbutton
@ -208,7 +208,7 @@ TrainerSupernerdShawn:
trainer SUPER_NERD, SHAWN, EVENT_BEAT_SUPER_NERD_SHAWN, SupernerdShawnSeenText, SupernerdShawnBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SupernerdShawnAfterBattleText
waitbutton

View File

@ -13,7 +13,7 @@ TrainerFirebreatherLyle:
trainer FIREBREATHER, LYLE, EVENT_BEAT_FIREBREATHER_LYLE, FirebreatherLyleSeenText, FirebreatherLyleBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext FirebreatherLyleAfterBattleText
waitbutton
@ -24,7 +24,7 @@ TrainerBugCatcherKen:
trainer BUG_CATCHER, KEN, EVENT_BEAT_BUG_CATCHER_KEN, BugCatcherKenSeenText, BugCatcherKenBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BugCatcherKenAfterBattleText
waitbutton
@ -35,7 +35,7 @@ TrainerBeautyCassie:
trainer BEAUTY, CASSIE, EVENT_BEAT_BEAUTY_CASSIE, BeautyCassieSeenText, BeautyCassieBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BeautyCassieAfterBattleText
waitbutton
@ -46,7 +46,7 @@ TrainerGuitaristClyde:
trainer GUITARIST, CLYDE, EVENT_BEAT_GUITARIST_CLYDE, GuitaristClydeSeenText, GuitaristClydeBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
special Mobile_DummyReturnFalse
iftrue .mobile
opentext

View File

@ -37,8 +37,8 @@ GoldenrodCity_MapScripts:
checkitem COIN_CASE
iffalse .MoveTutorDisappear
checkcode VAR_WEEKDAY
if_equal WEDNESDAY, .MoveTutorAppear
if_equal SATURDAY, .MoveTutorAppear
ifequal WEDNESDAY, .MoveTutorAppear
ifequal SATURDAY, .MoveTutorAppear
.MoveTutorDisappear:
disappear GOLDENRODCITY_POKEFAN_M2
return
@ -61,35 +61,35 @@ MoveTutorScript:
yesorno
iffalse .Refused2
checkcoins 4000
if_equal HAVE_LESS, .NotEnoughMoney
ifequal HAVE_LESS, .NotEnoughMoney
writetext UnknownText_0x1990ce
loadmenuheader .MoveMenuHeader
verticalmenu
closewindow
if_equal MOVETUTOR_FLAMETHROWER, .Flamethrower
if_equal MOVETUTOR_THUNDERBOLT, .Thunderbolt
if_equal MOVETUTOR_ICE_BEAM, .IceBeam
ifequal MOVETUTOR_FLAMETHROWER, .Flamethrower
ifequal MOVETUTOR_THUNDERBOLT, .Thunderbolt
ifequal MOVETUTOR_ICE_BEAM, .IceBeam
jump .Incompatible
.Flamethrower:
writebyte MOVETUTOR_FLAMETHROWER
writetext UnknownText_0x1991cf
special MoveTutor
if_equal FALSE, .TeachMove
ifequal FALSE, .TeachMove
jump .Incompatible
.Thunderbolt:
writebyte MOVETUTOR_THUNDERBOLT
writetext UnknownText_0x1991cf
special MoveTutor
if_equal FALSE, .TeachMove
ifequal FALSE, .TeachMove
jump .Incompatible
.IceBeam:
writebyte MOVETUTOR_ICE_BEAM
writetext UnknownText_0x1991cf
special MoveTutor
if_equal FALSE, .TeachMove
ifequal FALSE, .TeachMove
jump .Incompatible
.MoveMenuHeader:
@ -129,7 +129,7 @@ MoveTutorScript:
waitbutton
closetext
checkcode VAR_FACING
if_equal LEFT, .WalkAroundPlayer
ifequal LEFT, .WalkAroundPlayer
applymovement GOLDENRODCITY_POKEFAN_M2, MovementData_0x198a5f
jump .GoInside

View File

@ -14,7 +14,7 @@ GoldenrodDeptStore5F_MapScripts:
.CheckIfSunday:
checkcode VAR_WEEKDAY
if_equal SUNDAY, .yes
ifequal SUNDAY, .yes
disappear GOLDENRODDEPTSTORE5F_RECEPTIONIST
return
@ -60,14 +60,14 @@ ReceptionistScript_0x560ce:
faceplayer
opentext
checkcode VAR_WEEKDAY
if_not_equal SUNDAY, .EventIsOver
ifnotequal SUNDAY, .EventIsOver
checkflag ENGINE_GOLDENROD_DEPT_STORE_TM27_RETURN
iftrue .EventIsOver
special GetFirstPokemonHappiness
writetext UnknownText_0x56143
buttonsound
if_greater_than 150 - 1, .VeryHappy
if_greater_than 50 - 1, .SomewhatHappy
ifgreater 150 - 1, .VeryHappy
ifgreater 50 - 1, .SomewhatHappy
jump .NotVeryHappy
.VeryHappy:
@ -105,7 +105,7 @@ Carrie:
faceplayer
opentext
special GameboyCheck
if_not_equal GBCHECK_CGB, .NotGBC ; This is a dummy check from Gold/Silver
ifnotequal GBCHECK_CGB, .NotGBC ; This is a dummy check from Gold/Silver
writetext UnknownText_0x56241
waitbutton
closetext

View File

@ -15,15 +15,15 @@ GoldenrodVendingMachine:
loadmenuheader .MenuHeader
verticalmenu
closewindow
if_equal 1, .FreshWater
if_equal 2, .SodaPop
if_equal 3, .Lemonade
ifequal 1, .FreshWater
ifequal 2, .SodaPop
ifequal 3, .Lemonade
closetext
end
.FreshWater:
checkmoney YOUR_MONEY, 200
if_equal HAVE_LESS, .NotEnoughMoney
ifequal HAVE_LESS, .NotEnoughMoney
giveitem FRESH_WATER
iffalse .NotEnoughSpace
takemoney YOUR_MONEY, 200
@ -32,7 +32,7 @@ GoldenrodVendingMachine:
.SodaPop:
checkmoney YOUR_MONEY, 300
if_equal HAVE_LESS, .NotEnoughMoney
ifequal HAVE_LESS, .NotEnoughMoney
giveitem SODA_POP
iffalse .NotEnoughSpace
takemoney YOUR_MONEY, 300
@ -41,7 +41,7 @@ GoldenrodVendingMachine:
.Lemonade:
checkmoney YOUR_MONEY, 350
if_equal HAVE_LESS, .NotEnoughMoney
ifequal HAVE_LESS, .NotEnoughMoney
giveitem LEMONADE
iffalse .NotEnoughSpace
takemoney YOUR_MONEY, 350

View File

@ -24,8 +24,8 @@ GoldenrodGameCorner_MapScripts:
checkitem COIN_CASE
iffalse .move_tutor_inside
checkcode VAR_WEEKDAY
if_equal WEDNESDAY, .move_tutor_outside
if_equal SATURDAY, .move_tutor_outside
ifequal WEDNESDAY, .move_tutor_outside
ifequal SATURDAY, .move_tutor_outside
.move_tutor_inside
appear GOLDENRODGAMECORNER_POKEFAN_M3
return
@ -62,14 +62,14 @@ GoldenrodGmeCornerTMVendor_LoopScript: ; 056c36
loadmenuheader GoldenrodGameCornerTMVendorMenuHeader
verticalmenu
closewindow
if_equal 1, .Thunder
if_equal 2, .Blizzard
if_equal 3, .FireBlast
ifequal 1, .Thunder
ifequal 2, .Blizzard
ifequal 3, .FireBlast
jump GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
.Thunder:
checkcoins 5500
if_equal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
itemtotext TM_THUNDER, MEM_BUFFER_0
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
@ -80,7 +80,7 @@ GoldenrodGmeCornerTMVendor_LoopScript: ; 056c36
.Blizzard:
checkcoins 5500
if_equal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
itemtotext TM_BLIZZARD, MEM_BUFFER_0
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
@ -91,7 +91,7 @@ GoldenrodGmeCornerTMVendor_LoopScript: ; 056c36
.FireBlast:
checkcoins 5500
if_equal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
itemtotext TM_FIRE_BLAST, MEM_BUFFER_0
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
@ -163,16 +163,16 @@ GoldenrodGameCornerPrizeMonVendorScript:
loadmenuheader .MenuHeader
verticalmenu
closewindow
if_equal 1, .abra
if_equal 2, .cubone
if_equal 3, .wobbuffet
ifequal 1, .abra
ifequal 2, .cubone
ifequal 3, .wobbuffet
jump GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
.abra
checkcoins 100
if_equal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
checkcode VAR_PARTYCOUNT
if_equal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
ifequal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
pokenamemem ABRA, MEM_BUFFER_0
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
@ -188,9 +188,9 @@ GoldenrodGameCornerPrizeMonVendorScript:
.cubone
checkcoins 800
if_equal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
checkcode VAR_PARTYCOUNT
if_equal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
ifequal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
pokenamemem CUBONE, MEM_BUFFER_0
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
@ -206,9 +206,9 @@ GoldenrodGameCornerPrizeMonVendorScript:
.wobbuffet
checkcoins 1500
if_equal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
checkcode VAR_PARTYCOUNT
if_equal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
ifequal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
pokenamemem WOBBUFFET, MEM_BUFFER_0
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
@ -292,7 +292,7 @@ GoldenrodGameCornerLeftTheirDrinkScript:
GoldenrodGameCornerSlotsMachineScript:
random 6
if_equal 0, GoldenrodGameCornerLuckySlotsMachineScript
ifequal 0, GoldenrodGameCornerLuckySlotsMachineScript
refreshscreen
writebyte FALSE
special SlotMachine

View File

@ -80,8 +80,8 @@ UnknownScript_0x5407b:
end
GoldenrodGymActivateRockets:
if_equal 7, .RadioTowerRockets
if_equal 6, .GoldenrodRockets
ifequal 7, .RadioTowerRockets
ifequal 6, .GoldenrodRockets
end
.GoldenrodRockets:
@ -94,7 +94,7 @@ TrainerLassCarrie:
trainer LASS, CARRIE, EVENT_BEAT_LASS_CARRIE, LassCarrieSeenText, LassCarrieBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext LassCarrieAfterBattleText
waitbutton
@ -118,7 +118,7 @@ TrainerLassBridget:
trainer LASS, BRIDGET, EVENT_BEAT_LASS_BRIDGET, LassBridgetSeenText, LassBridgetBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext LassBridgetAfterBattleText
waitbutton
@ -129,7 +129,7 @@ TrainerBeautyVictoria:
trainer BEAUTY, VICTORIA, EVENT_BEAT_BEAUTY_VICTORIA, BeautyVictoriaSeenText, BeautyVictoriaBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BeautyVictoriaAfterBattleText
waitbutton
@ -140,7 +140,7 @@ TrainerBeautySamantha:
trainer BEAUTY, SAMANTHA, EVENT_BEAT_BEAUTY_SAMANTHA, BeautySamanthaSeenText, BeautySamanthaBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BeautySamanthaAfterBattleText
waitbutton

View File

@ -14,11 +14,11 @@ TeacherScript_0x54953:
special GetFirstPokemonHappiness
writetext UnknownText_0x549a3
buttonsound
if_greater_than 250 - 1, UnknownScript_0x54973
if_greater_than 200 - 1, UnknownScript_0x54979
if_greater_than 150 - 1, UnknownScript_0x5497f
if_greater_than 100 - 1, UnknownScript_0x54985
if_greater_than 50 - 1, UnknownScript_0x5498b
ifgreater 250 - 1, UnknownScript_0x54973
ifgreater 200 - 1, UnknownScript_0x54979
ifgreater 150 - 1, UnknownScript_0x5497f
ifgreater 100 - 1, UnknownScript_0x54985
ifgreater 50 - 1, UnknownScript_0x5498b
jump UnknownScript_0x54991
UnknownScript_0x54973:

View File

@ -16,7 +16,7 @@ NurseScript_0x60f91:
GoldenrodPokecenter1F_GSBallSceneLeft:
writebyte BATTLETOWERACTION_CHECKMOBILEEVENT
special BattleTowerAction
if_equal MOBILE_EVENT_OBJECT_GS_BALL, .gsball
ifequal MOBILE_EVENT_OBJECT_GS_BALL, .gsball
end
.gsball
@ -48,7 +48,7 @@ GoldenrodPokecenter1F_GSBallSceneLeft:
GoldenrodPokecenter1F_GSBallSceneRight:
writebyte BATTLETOWERACTION_CHECKMOBILEEVENT
special BattleTowerAction
if_equal MOBILE_EVENT_OBJECT_GS_BALL, .gsball
ifequal MOBILE_EVENT_OBJECT_GS_BALL, .gsball
end
.gsball

View File

@ -48,12 +48,12 @@ GoldenrodUnderground_MapScripts:
.CheckDayOfWeek:
checkcode VAR_WEEKDAY
if_equal MONDAY, .Monday
if_equal TUESDAY, .Tuesday
if_equal WEDNESDAY, .Wednesday
if_equal THURSDAY, .Thursday
if_equal FRIDAY, .Friday
if_equal SATURDAY, .Saturday
ifequal MONDAY, .Monday
ifequal TUESDAY, .Tuesday
ifequal WEDNESDAY, .Wednesday
ifequal THURSDAY, .Thursday
ifequal FRIDAY, .Friday
ifequal SATURDAY, .Saturday
.Sunday:
disappear GOLDENRODUNDERGROUND_GRAMPS
@ -112,7 +112,7 @@ TrainerSupernerdEric:
trainer SUPER_NERD, ERIC, EVENT_BEAT_SUPER_NERD_ERIC, SupernerdEricSeenText, SupernerdEricBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SupernerdEricAfterBattleText
waitbutton
@ -123,7 +123,7 @@ TrainerSupernerdTeru:
trainer SUPER_NERD, TERU, EVENT_BEAT_SUPER_NERD_TERU, SupernerdTeruSeenText, SupernerdTeruBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SupernerdTeruAfterBattleText
waitbutton
@ -134,7 +134,7 @@ TrainerPokemaniacIssac:
trainer POKEMANIAC, ISSAC, EVENT_BEAT_POKEMANIAC_ISSAC, PokemaniacIssacSeenText, PokemaniacIssacBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PokemaniacIssacAfterBattleText
waitbutton
@ -145,7 +145,7 @@ TrainerPokemaniacDonald:
trainer POKEMANIAC, DONALD, EVENT_BEAT_POKEMANIAC_DONALD, PokemaniacDonaldSeenText, PokemaniacDonaldBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PokemaniacDonaldAfterBattleText
waitbutton
@ -155,8 +155,8 @@ TrainerPokemaniacDonald:
GrannyScript_0x7c132:
opentext
checkcode VAR_WEEKDAY
if_equal SUNDAY, .Open
if_equal SATURDAY, .Open
ifequal SUNDAY, .Open
ifequal SATURDAY, .Open
jump GoldenrodUndergroundScript_ShopClosed
.Open:
@ -169,7 +169,7 @@ GrampsScript_0x7c146:
checkflag ENGINE_GOLDENROD_UNDERGROUND_MERCHANT_CLOSED
iftrue GoldenrodUndergroundScript_ShopClosed
checkcode VAR_WEEKDAY
if_equal MONDAY, .CheckMorn
ifequal MONDAY, .CheckMorn
jump GoldenrodUndergroundScript_ShopClosed
.CheckMorn:
@ -182,9 +182,9 @@ GrampsScript_0x7c146:
OlderHaircutBrotherScript:
opentext
checkcode VAR_WEEKDAY
if_equal TUESDAY, .DoHaircut
if_equal THURSDAY, .DoHaircut
if_equal SATURDAY, .DoHaircut
ifequal TUESDAY, .DoHaircut
ifequal THURSDAY, .DoHaircut
ifequal SATURDAY, .DoHaircut
jump GoldenrodUndergroundScript_ShopClosed
.DoHaircut:
@ -195,15 +195,15 @@ OlderHaircutBrotherScript:
yesorno
iffalse .Refused
checkmoney YOUR_MONEY, 500
if_equal HAVE_LESS, .NotEnoughMoney
ifequal HAVE_LESS, .NotEnoughMoney
writetext UnknownText_0x7c69a
buttonsound
special YoungerHaircutBrother
if_equal $0, .Refused
if_equal $1, .Refused
ifequal $0, .Refused
ifequal $1, .Refused
setflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
if_equal $2, .two
if_equal $3, .three
ifequal $2, .two
ifequal $3, .three
jump .else
.two
@ -265,9 +265,9 @@ OlderHaircutBrotherScript:
YoungerHaircutBrotherScript:
opentext
checkcode VAR_WEEKDAY
if_equal SUNDAY, .DoHaircut
if_equal WEDNESDAY, .DoHaircut
if_equal FRIDAY, .DoHaircut
ifequal SUNDAY, .DoHaircut
ifequal WEDNESDAY, .DoHaircut
ifequal FRIDAY, .DoHaircut
jump GoldenrodUndergroundScript_ShopClosed
.DoHaircut:
@ -278,15 +278,15 @@ YoungerHaircutBrotherScript:
yesorno
iffalse .Refused
checkmoney YOUR_MONEY, 300
if_equal HAVE_LESS, .NotEnoughMoney
ifequal HAVE_LESS, .NotEnoughMoney
writetext UnknownText_0x7c7f1
buttonsound
special OlderHaircutBrother
if_equal $0, .Refused
if_equal $1, .Refused
ifequal $0, .Refused
ifequal $1, .Refused
setflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
if_equal $2, .two
if_equal $3, .three
ifequal $2, .two
ifequal $3, .three
jump .else
.two

View File

@ -208,7 +208,7 @@ TrainerGruntM11:
trainer GRUNTM, GRUNTM_11, EVENT_BEAT_ROCKET_GRUNTM_11, GruntM11SeenText, GruntM11BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntM11AfterBattleText
waitbutton
@ -219,7 +219,7 @@ TrainerGruntM25:
trainer GRUNTM, GRUNTM_25, EVENT_BEAT_ROCKET_GRUNTM_25, GruntM25SeenText, GruntM25BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntM25AfterBattleText
waitbutton
@ -230,7 +230,7 @@ TrainerBurglarDuncan:
trainer BURGLAR, DUNCAN, EVENT_BEAT_BURGLAR_DUNCAN, BurglarDuncanSeenText, BurglarDuncanBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BurglarDuncanAfterBattleText
waitbutton
@ -241,7 +241,7 @@ TrainerBurglarEddie:
trainer BURGLAR, EDDIE, EVENT_BEAT_BURGLAR_EDDIE, BurglarEddieSeenText, BurglarEddieBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BurglarEddieAfterBattleText
waitbutton
@ -252,7 +252,7 @@ TrainerGruntM13:
trainer GRUNTM, GRUNTM_13, EVENT_BEAT_ROCKET_GRUNTM_13, GruntM13SeenText, GruntM13BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntM13AfterBattleText
waitbutton
@ -263,7 +263,7 @@ TrainerGruntF3:
trainer GRUNTF, GRUNTF_3, EVENT_BEAT_ROCKET_GRUNTF_3, GruntF3SeenText, GruntF3BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntF3AfterBattleText
waitbutton
@ -380,14 +380,14 @@ GoldenrodUndergroundSwitchRoomEntrances_DontToggle:
GoldenrodUndergroundSwitchRoomEntrances_UpdateDoors:
copybytetovar UndergroundSwitchPositions
if_equal 0, .Position0
if_equal 1, .Position1
if_equal 2, .Position2
if_equal 3, .Position3
if_equal 4, .Position4
if_equal 5, .Position5
if_equal 6, .Position6
if_equal 7, .EmergencyPosition
ifequal 0, .Position0
ifequal 1, .Position1
ifequal 2, .Position2
ifequal 3, .Position3
ifequal 4, .Position4
ifequal 5, .Position5
ifequal 6, .Position6
ifequal 7, .EmergencyPosition
.Position0:
playsound SFX_ENTER_DOOR
scall .Clear4

View File

@ -37,7 +37,7 @@ TrainerGruntM24:
trainer GRUNTM, GRUNTM_24, EVENT_BEAT_ROCKET_GRUNTM_24, GruntM24SeenText, GruntM24BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntM24AfterBattleText
waitbutton
@ -48,7 +48,7 @@ TrainerGruntM14:
trainer GRUNTM, GRUNTM_14, EVENT_BEAT_ROCKET_GRUNTM_14, GruntM14SeenText, GruntM14BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntM14AfterBattleText
waitbutton
@ -59,7 +59,7 @@ TrainerGruntM15:
trainer GRUNTM, GRUNTM_15, EVENT_BEAT_ROCKET_GRUNTM_15, GruntM15SeenText, GruntM15BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntM15AfterBattleText
waitbutton

View File

@ -21,16 +21,16 @@ IlexForest_MapScripts:
checkevent EVENT_GOT_HM01_CUT
iftrue .Static
copybytetovar FarfetchdPosition
if_equal 1, .PositionOne
if_equal 2, .PositionTwo
if_equal 3, .PositionThree
if_equal 4, .PositionFour
if_equal 5, .PositionFive
if_equal 6, .PositionSix
if_equal 7, .PositionSeven
if_equal 8, .PositionEight
if_equal 9, .PositionNine
if_equal 10, .PositionTen
ifequal 1, .PositionOne
ifequal 2, .PositionTwo
ifequal 3, .PositionThree
ifequal 4, .PositionFour
ifequal 5, .PositionFive
ifequal 6, .PositionSix
ifequal 7, .PositionSeven
ifequal 8, .PositionEight
ifequal 9, .PositionNine
ifequal 10, .PositionTen
.Static:
return
@ -102,16 +102,16 @@ IlexForestCharcoalApprenticeScript:
IlexForestFarfetchdScript:
copybytetovar FarfetchdPosition
if_equal 1, .Position1
if_equal 2, .Position2
if_equal 3, .Position3
if_equal 4, .Position4
if_equal 5, .Position5
if_equal 6, .Position6
if_equal 7, .Position7
if_equal 8, .Position8
if_equal 9, .Position9
if_equal 10, .Position10
ifequal 1, .Position1
ifequal 2, .Position2
ifequal 3, .Position3
ifequal 4, .Position4
ifequal 5, .Position5
ifequal 6, .Position6
ifequal 7, .Position7
ifequal 8, .Position8
ifequal 9, .Position9
ifequal 10, .Position10
.Position1:
faceplayer
@ -131,7 +131,7 @@ IlexForestFarfetchdScript:
.Position2:
scall .CryAndCheckFacing
if_equal DOWN, .Position2_Down
ifequal DOWN, .Position2_Down
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos2_Pos3
moveobject ILEXFOREST_FARFETCHD, 20, 24
disappear ILEXFOREST_FARFETCHD
@ -149,7 +149,7 @@ IlexForestFarfetchdScript:
.Position3:
scall .CryAndCheckFacing
if_equal LEFT, .Position3_Left
ifequal LEFT, .Position3_Left
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos3_Pos4
moveobject ILEXFOREST_FARFETCHD, 29, 22
disappear ILEXFOREST_FARFETCHD
@ -167,7 +167,7 @@ IlexForestFarfetchdScript:
.Position4:
scall .CryAndCheckFacing
if_equal UP, .Position4_Up
ifequal UP, .Position4_Up
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos4_Pos5
moveobject ILEXFOREST_FARFETCHD, 28, 31
disappear ILEXFOREST_FARFETCHD
@ -185,9 +185,9 @@ IlexForestFarfetchdScript:
.Position5:
scall .CryAndCheckFacing
if_equal UP, .Position5_Up
if_equal LEFT, .Position5_Left
if_equal RIGHT, .Position5_Right
ifequal UP, .Position5_Up
ifequal LEFT, .Position5_Left
ifequal RIGHT, .Position5_Right
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos5_Pos6
moveobject ILEXFOREST_FARFETCHD, 24, 35
disappear ILEXFOREST_FARFETCHD
@ -221,7 +221,7 @@ IlexForestFarfetchdScript:
.Position6:
scall .CryAndCheckFacing
if_equal RIGHT, .Position6_Right
ifequal RIGHT, .Position6_Right
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos6_Pos7
moveobject ILEXFOREST_FARFETCHD, 22, 31
disappear ILEXFOREST_FARFETCHD
@ -239,8 +239,8 @@ IlexForestFarfetchdScript:
.Position7:
scall .CryAndCheckFacing
if_equal DOWN, .Position7_Down
if_equal LEFT, .Position7_Left
ifequal DOWN, .Position7_Down
ifequal LEFT, .Position7_Left
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos7_Pos8
moveobject ILEXFOREST_FARFETCHD, 15, 29
disappear ILEXFOREST_FARFETCHD
@ -266,9 +266,9 @@ IlexForestFarfetchdScript:
.Position8:
scall .CryAndCheckFacing
if_equal UP, .Position8_Up
if_equal LEFT, .Position8_Left
if_equal RIGHT, .Position8_Right
ifequal UP, .Position8_Up
ifequal LEFT, .Position8_Left
ifequal RIGHT, .Position8_Right
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos8_Pos9
moveobject ILEXFOREST_FARFETCHD, 10, 35
disappear ILEXFOREST_FARFETCHD
@ -295,8 +295,8 @@ IlexForestFarfetchdScript:
.Position9:
scall .CryAndCheckFacing
if_equal DOWN, .Position9_Down
if_equal RIGHT, .Position9_Right
ifequal DOWN, .Position9_Down
ifequal RIGHT, .Position9_Right
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos9_Pos10
moveobject ILEXFOREST_FARFETCHD, 6, 28
disappear ILEXFOREST_FARFETCHD
@ -389,7 +389,7 @@ TrainerBugCatcherWayne:
trainer BUG_CATCHER, WAYNE, EVENT_BEAT_BUG_CATCHER_WAYNE, BugCatcherWayneSeenText, BugCatcherWayneBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BugCatcherWayneAfterBattleText
waitbutton

View File

@ -47,11 +47,11 @@ PlateauRivalBattle1:
checkflag ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT
iftrue PlateauRivalScriptDone
checkcode VAR_WEEKDAY
if_equal SUNDAY, PlateauRivalScriptDone
if_equal TUESDAY, PlateauRivalScriptDone
if_equal THURSDAY, PlateauRivalScriptDone
if_equal FRIDAY, PlateauRivalScriptDone
if_equal SATURDAY, PlateauRivalScriptDone
ifequal SUNDAY, PlateauRivalScriptDone
ifequal TUESDAY, PlateauRivalScriptDone
ifequal THURSDAY, PlateauRivalScriptDone
ifequal FRIDAY, PlateauRivalScriptDone
ifequal SATURDAY, PlateauRivalScriptDone
moveobject INDIGOPLATEAUPOKECENTER1F_SILVER, 17, 9
appear INDIGOPLATEAUPOKECENTER1F_SILVER
spriteface PLAYER, DOWN
@ -69,11 +69,11 @@ PlateauRivalBattle2:
checkflag ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT
iftrue PlateauRivalScriptDone
checkcode VAR_WEEKDAY
if_equal SUNDAY, PlateauRivalScriptDone
if_equal TUESDAY, PlateauRivalScriptDone
if_equal THURSDAY, PlateauRivalScriptDone
if_equal FRIDAY, PlateauRivalScriptDone
if_equal SATURDAY, PlateauRivalScriptDone
ifequal SUNDAY, PlateauRivalScriptDone
ifequal TUESDAY, PlateauRivalScriptDone
ifequal THURSDAY, PlateauRivalScriptDone
ifequal FRIDAY, PlateauRivalScriptDone
ifequal SATURDAY, PlateauRivalScriptDone
appear INDIGOPLATEAUPOKECENTER1F_SILVER
spriteface PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15

View File

@ -45,7 +45,7 @@ KurtScript_0x18e178:
special FadeOutMusic
setevent EVENT_AZALEA_TOWN_SLOWPOKETAIL_ROCKET
checkcode VAR_FACING
if_equal UP, .RunAround
ifequal UP, .RunAround
spriteface PLAYER, DOWN
playsound SFX_FLY
applymovement KURTSHOUSE_KURT1, MovementData_0x18e466
@ -130,13 +130,13 @@ KurtScript_0x18e178:
buttonsound
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_3
special SelectApricornForKurt
if_equal FALSE, .Cancel
if_equal BLU_APRICORN, .Blu
if_equal YLW_APRICORN, .Ylw
if_equal GRN_APRICORN, .Grn
if_equal WHT_APRICORN, .Wht
if_equal BLK_APRICORN, .Blk
if_equal PNK_APRICORN, .Pnk
ifequal FALSE, .Cancel
ifequal BLU_APRICORN, .Blu
ifequal YLW_APRICORN, .Ylw
ifequal GRN_APRICORN, .Grn
ifequal WHT_APRICORN, .Wht
ifequal BLK_APRICORN, .Blk
ifequal PNK_APRICORN, .Pnk
; .Red
setevent EVENT_GAVE_KURT_RED_APRICORN
jump .GaveKurtApricorns
@ -293,7 +293,7 @@ KurtScript_0x18e178:
pause 20
showemote EMOTE_SHOCK, KURTSHOUSE_KURT1, 30
checkcode VAR_FACING
if_equal UP, .GSBallRunAround
ifequal UP, .GSBallRunAround
spriteface PLAYER, DOWN
playsound SFX_FLY
applymovement KURTSHOUSE_KURT1, MovementData_0x18e466

View File

@ -33,7 +33,7 @@ LakeOfRage_MapScripts:
.Wesley:
checkcode VAR_WEEKDAY
if_equal WEDNESDAY, .WesleyAppears
ifequal WEDNESDAY, .WesleyAppears
disappear LAKEOFRAGE_WESLEY
return
@ -87,7 +87,7 @@ GyaradosScript_0x70063:
loadwildmon GYARADOS, 30
writecode VAR_BATTLETYPE, BATTLETYPE_SHINY
startbattle
if_equal $1, UnknownScript_0x7007a
ifequal $1, UnknownScript_0x7007a
disappear LAKEOFRAGE_GYARADOS
UnknownScript_0x7007a:
reloadmapafterbattle
@ -147,7 +147,7 @@ TrainerFisherAndre:
trainer FISHER, ANDRE, EVENT_BEAT_FISHER_ANDRE, FisherAndreSeenText, FisherAndreBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext FisherAndreAfterBattleText
waitbutton
@ -158,7 +158,7 @@ TrainerFisherRaymond:
trainer FISHER, RAYMOND, EVENT_BEAT_FISHER_RAYMOND, FisherRaymondSeenText, FisherRaymondBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext FisherRaymondAfterBattleText
waitbutton
@ -169,7 +169,7 @@ TrainerCooltrainermAaron:
trainer COOLTRAINERM, AARON, EVENT_BEAT_COOLTRAINERM_AARON, CooltrainermAaronSeenText, CooltrainermAaronBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext CooltrainermAaronAfterBattleText
waitbutton
@ -180,7 +180,7 @@ TrainerCooltrainerfLois:
trainer COOLTRAINERF, LOIS, EVENT_BEAT_COOLTRAINERF_LOIS, CooltrainerfLoisSeenText, CooltrainerfLoisBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext CooltrainerfLoisAfterBattleText
waitbutton
@ -193,7 +193,7 @@ WesleyScript:
checkevent EVENT_GOT_BLACKBELT_FROM_WESLEY
iftrue WesleyWednesdayScript
checkcode VAR_WEEKDAY
if_not_equal WEDNESDAY, WesleyNotWednesdayScript
ifnotequal WEDNESDAY, WesleyNotWednesdayScript
checkevent EVENT_MET_WESLEY_OF_WEDNESDAY
iftrue .MetWesley
writetext MeetWesleyText

View File

@ -43,9 +43,9 @@ UnknownScript_0x19a6e0:
writetext UnknownText_0x19a93e
waitbutton
special CheckMagikarpLength
if_equal MAGIKARPLENGTH_NOT_MAGIKARP, UnknownScript_0x19a71c
if_equal MAGIKARPLENGTH_REFUSED, UnknownScript_0x19a722
if_equal MAGIKARPLENGTH_TOO_SHORT, UnknownScript_0x19a716
ifequal MAGIKARPLENGTH_NOT_MAGIKARP, UnknownScript_0x19a71c
ifequal MAGIKARPLENGTH_REFUSED, UnknownScript_0x19a722
ifequal MAGIKARPLENGTH_TOO_SHORT, UnknownScript_0x19a716
; MAGIKARPLENGTH_BEAT_RECORD
jump UnknownScript_0x19a6fe

View File

@ -58,8 +58,8 @@ MahoganyGym_NoRoomForIcyWind:
end
MahoganyGymActivateRockets:
if_equal 7, .RadioTowerRockets
if_equal 6, .GoldenrodRockets
ifequal 7, .RadioTowerRockets
ifequal 6, .GoldenrodRockets
end
.GoldenrodRockets:
@ -72,7 +72,7 @@ TrainerSkierRoxanne:
trainer SKIER, ROXANNE, EVENT_BEAT_SKIER_ROXANNE, SkierRoxanneSeenText, SkierRoxanneBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SkierRoxanneAfterBattleText
waitbutton
@ -83,7 +83,7 @@ TrainerSkierClarissa:
trainer SKIER, CLARISSA, EVENT_BEAT_SKIER_CLARISSA, SkierClarissaSeenText, SkierClarissaBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SkierClarissaAfterBattleText
waitbutton
@ -94,7 +94,7 @@ TrainerBoarderRonald:
trainer BOARDER, RONALD, EVENT_BEAT_BOARDER_RONALD, BoarderRonaldSeenText, BoarderRonaldBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BoarderRonaldAfterBattleText
waitbutton
@ -105,7 +105,7 @@ TrainerBoarderBrad:
trainer BOARDER, BRAD, EVENT_BEAT_BOARDER_BRAD, BoarderBradSeenText, BoarderBradBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BoarderBradAfterBattleText
waitbutton
@ -116,7 +116,7 @@ TrainerBoarderDouglas:
trainer BOARDER, DOUGLAS, EVENT_BEAT_BOARDER_DOUGLAS, BoarderDouglasSeenText, BoarderDouglasBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BoarderDouglasAfterBattleText
waitbutton

View File

@ -55,7 +55,7 @@ UnknownScript_0x190040:
yesorno
iffalse UnknownScript_0x190072
checkmoney YOUR_MONEY, 300
if_equal HAVE_LESS, UnknownScript_0x19006c
ifequal HAVE_LESS, UnknownScript_0x19006c
giveitem RAGECANDYBAR
iffalse UnknownScript_0x190078
waitsfx

View File

@ -53,10 +53,10 @@ ManiaScript:
yesorno
iffalse .refused
special ReturnShuckle
if_equal SHUCKIE_WRONG_MON, .wrong
if_equal SHUCKIE_REFUSED, .refused
if_equal SHUCKIE_HAPPY, .superhappy
if_equal SHUCKIE_FAINTED, .default_postevent
ifequal SHUCKIE_WRONG_MON, .wrong
ifequal SHUCKIE_REFUSED, .refused
ifequal SHUCKIE_HAPPY, .superhappy
ifequal SHUCKIE_FAINTED, .default_postevent
; SHUCKIE_RETURNED
writetext ManiaText_ThankYou
waitbutton

View File

@ -20,11 +20,11 @@ MobileBattleRoom_MapScripts:
MapMobileBattleRoomSignpost0Script:
refreshscreen
special Function1037c2
if_equal $1, .one
ifequal $1, .one
special Function1037eb
iffalse .false
if_equal $1, .one_
if_equal $2, .two_
ifequal $1, .one_
ifequal $2, .two_
jump .false
.one_

View File

@ -26,7 +26,7 @@ ClefairyDance:
checkflag ENGINE_MT_MOON_SQUARE_CLEFAIRY
iftrue .NoDancing
checkcode VAR_WEEKDAY
if_not_equal MONDAY, .NoDancing
ifnotequal MONDAY, .NoDancing
checknite
iffalse .NoDancing
appear MOUNTMOONSQUARE_FAIRY1

View File

@ -19,7 +19,7 @@ TrainerPokemaniacMiller:
trainer POKEMANIAC, MILLER, EVENT_BEAT_POKEMANIAC_MILLER, PokemaniacMillerSeenText, PokemaniacMillerBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PokemaniacMillerAfterBattleText
waitbutton
@ -30,7 +30,7 @@ TrainerSupernerdMarkus:
trainer SUPER_NERD, MARKUS, EVENT_BEAT_SUPER_NERD_MARKUS, SupernerdMarkusSeenText, SupernerdMarkusBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SupernerdMarkusAfterBattleText
waitbutton

View File

@ -16,7 +16,7 @@ TrainerSupernerdHugh:
trainer SUPER_NERD, HUGH, EVENT_BEAT_SUPER_NERD_HUGH, SupernerdHughSeenText, SupernerdHughBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SupernerdHughAfterBattleText
waitbutton

View File

@ -33,7 +33,7 @@ UnknownScript_0x7e217:
buttonsound
waitsfx
checkcode VAR_PARTYCOUNT
if_equal PARTY_LENGTH, UnknownScript_0x7e237
ifequal PARTY_LENGTH, UnknownScript_0x7e237
writetext UnknownText_0x7e355
playsound SFX_CAUGHT_MON
waitsfx

View File

@ -74,7 +74,7 @@ TrainerSchoolboyJack1:
.Script:
writecode VAR_CALLERID, PHONE_SCHOOLBOY_JACK
end_if_just_battled
endifjustbattled
opentext
checkflag ENGINE_JACK
iftrue UnknownScript_0x5c088
@ -92,8 +92,8 @@ UnknownScript_0x5c071:
scall UnknownScript_0x5c100
UnknownScript_0x5c074:
askforphonenumber PHONE_SCHOOLBOY_JACK
if_equal PHONE_CONTACTS_FULL, UnknownScript_0x5c110
if_equal PHONE_CONTACT_REFUSED, UnknownScript_0x5c10c
ifequal PHONE_CONTACTS_FULL, UnknownScript_0x5c110
ifequal PHONE_CONTACT_REFUSED, UnknownScript_0x5c10c
trainertotext SCHOOLBOY, JACK1, MEM_BUFFER_0
scall UnknownScript_0x5c104
jump UnknownScript_0x5c108
@ -102,11 +102,11 @@ UnknownScript_0x5c088:
scall UnknownScript_0x5c114
winlosstext SchoolboyJack1BeatenText, 0
copybytetovar wJackFightCount
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
@ -190,7 +190,7 @@ TrainerPokefanmWilliam:
trainer POKEFANM, WILLIAM, EVENT_BEAT_POKEFANM_WILLIAM, PokefanmWilliamSeenText, PokefanmWilliamBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PokefanmWilliamAfterBattleText
waitbutton
@ -202,7 +202,7 @@ TrainerPokefanfBeverly1:
.Script:
writecode VAR_CALLERID, PHONE_POKEFAN_BEVERLY
end_if_just_battled
endifjustbattled
opentext
checkflag ENGINE_BEVERLY_HAS_NUGGET
iftrue UnknownScript_0x5c177
@ -222,8 +222,8 @@ UnknownScript_0x5c160:
scall UnknownScript_0x5c193
UnknownScript_0x5c163:
askforphonenumber PHONE_POKEFAN_BEVERLY
if_equal PHONE_CONTACTS_FULL, UnknownScript_0x5c1a3
if_equal PHONE_CONTACT_REFUSED, UnknownScript_0x5c19f
ifequal PHONE_CONTACTS_FULL, UnknownScript_0x5c1a3
ifequal PHONE_CONTACT_REFUSED, UnknownScript_0x5c19f
trainertotext POKEFANF, BEVERLY1, MEM_BUFFER_0
scall UnknownScript_0x5c197
jump UnknownScript_0x5c19b
@ -280,7 +280,7 @@ TrainerLassKrise:
trainer LASS, KRISE, EVENT_BEAT_LASS_KRISE, LassKriseSeenText, LassKriseBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext LassKriseAfterBattleText
waitbutton

View File

@ -24,8 +24,8 @@ Oak:
setevent EVENT_TALKED_TO_OAK_IN_KANTO
.CheckBadges:
checkcode VAR_BADGES
if_equal NUM_BADGES, .OpenMtSilver
if_equal NUM_JOHTO_BADGES, .Complain
ifequal NUM_BADGES, .OpenMtSilver
ifequal NUM_JOHTO_BADGES, .Complain
jump .AhGood
.CheckPokedex:

View File

@ -77,7 +77,7 @@ StandingYoungsterScript_0x1a88a6:
faceplayer
opentext
random 2
if_equal 0, UnknownScript_0x1a88b4
ifequal 0, UnknownScript_0x1a88b4
writetext UnknownText_0x1a8b04
waitbutton
closetext

View File

@ -48,8 +48,8 @@ JasmineScript_0x9c12f:
end
OlivineGymActivateRockets:
if_equal 7, .RadioTowerRockets
if_equal 6, .GoldenrodRockets
ifequal 7, .RadioTowerRockets
ifequal 6, .GoldenrodRockets
end
.GoldenrodRockets:

View File

@ -11,7 +11,7 @@ TrainerGentlemanAlfred:
trainer GENTLEMAN, ALFRED, EVENT_BEAT_GENTLEMAN_ALFRED, GentlemanAlfredSeenText, GentlemanAlfredBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GentlemanAlfredAfterBattleText
waitbutton
@ -23,7 +23,7 @@ TrainerSailorHuey1:
.Script:
writecode VAR_CALLERID, PHONE_SAILOR_HUEY
end_if_just_battled
endifjustbattled
opentext
checkflag ENGINE_HUEY
iftrue UnknownScript_0x5afc7
@ -39,8 +39,8 @@ UnknownScript_0x5afb0:
scall UnknownScript_0x5b057
UnknownScript_0x5afb3:
askforphonenumber PHONE_SAILOR_HUEY
if_equal PHONE_CONTACTS_FULL, UnknownScript_0x5b067
if_equal PHONE_CONTACT_REFUSED, UnknownScript_0x5b063
ifequal PHONE_CONTACTS_FULL, UnknownScript_0x5b067
ifequal PHONE_CONTACT_REFUSED, UnknownScript_0x5b063
trainertotext SAILOR, HUEY1, MEM_BUFFER_0
scall UnknownScript_0x5b05b
jump UnknownScript_0x5b05f
@ -49,10 +49,10 @@ UnknownScript_0x5afc7:
scall UnknownScript_0x5b06b
winlosstext SailorHuey1BeatenText, 0
copybytetovar wHueyFightCount
if_equal 3, .Fight3
if_equal 2, .Fight2
if_equal 1, .Fight1
if_equal 0, .LoadFight0
ifequal 3, .Fight3
ifequal 2, .Fight2
ifequal 1, .Fight1
ifequal 0, .LoadFight0
.Fight3:
checkevent EVENT_RESTORED_POWER_TO_KANTO
iftrue .LoadFight3

View File

@ -13,7 +13,7 @@ TrainerBirdKeeperTheo:
trainer BIRD_KEEPER, THEO, EVENT_BEAT_BIRD_KEEPER_THEO, BirdKeeperTheoSeenText, BirdKeeperTheoBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BirdKeeperTheoAfterBattleText
waitbutton
@ -24,7 +24,7 @@ TrainerGentlemanPreston:
trainer GENTLEMAN, PRESTON, EVENT_BEAT_GENTLEMAN_PRESTON, GentlemanPrestonSeenText, GentlemanPrestonBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GentlemanPrestonAfterBattleText
waitbutton
@ -35,7 +35,7 @@ TrainerSailorTerrell:
trainer SAILOR, TERRELL, EVENT_BEAT_SAILOR_TERRELL, SailorTerrellSeenText, SailorTerrellBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SailorTerrellAfterBattleText
waitbutton

View File

@ -11,7 +11,7 @@ TrainerLassConnie:
trainer LASS, CONNIE1, EVENT_BEAT_LASS_CONNIE, LassConnie1SeenText, LassConnie1BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext LassConnie1AfterBattleText
waitbutton
@ -22,7 +22,7 @@ TrainerSailorKent:
trainer SAILOR, KENT, EVENT_BEAT_SAILOR_KENT, SailorKentSeenText, SailorKentBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SailorKentAfterBattleText
waitbutton

View File

@ -14,7 +14,7 @@ TrainerBirdKeeperDenis:
trainer BIRD_KEEPER, DENIS, EVENT_BEAT_BIRD_KEEPER_DENIS, BirdKeeperDenisSeenText, BirdKeeperDenisBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BirdKeeperDenisAfterBattleText
waitbutton
@ -25,7 +25,7 @@ TrainerSailorErnest:
trainer SAILOR, ERNEST, EVENT_BEAT_SAILOR_ERNEST, SailorErnestSeenText, SailorErnestBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SailorErnestAfterBattleText
waitbutton

View File

@ -68,8 +68,8 @@ UnknownScript_0x60bab:
setevent EVENT_JASMINE_RETURNED_TO_GYM
clearevent EVENT_OLIVINE_GYM_JASMINE
checkcode VAR_FACING
if_equal DOWN, UnknownScript_0x60c17
if_equal RIGHT, UnknownScript_0x60c1e
ifequal DOWN, UnknownScript_0x60c17
ifequal RIGHT, UnknownScript_0x60c1e
applymovement OLIVINELIGHTHOUSE6F_JASMINE, MovementData_0x60c68
disappear OLIVINELIGHTHOUSE6F_JASMINE
end

View File

@ -83,11 +83,11 @@ UnknownScript_0x7491f:
checkevent EVENT_FAST_SHIP_FIRST_TIME
iffalse UnknownScript_0x7494e
checkcode VAR_WEEKDAY
if_equal SUNDAY, UnknownScript_0x74977
if_equal SATURDAY, UnknownScript_0x74977
if_equal TUESDAY, UnknownScript_0x74981
if_equal WEDNESDAY, UnknownScript_0x74981
if_equal THURSDAY, UnknownScript_0x74981
ifequal SUNDAY, UnknownScript_0x74977
ifequal SATURDAY, UnknownScript_0x74977
ifequal TUESDAY, UnknownScript_0x74981
ifequal WEDNESDAY, UnknownScript_0x74981
ifequal THURSDAY, UnknownScript_0x74981
UnknownScript_0x7494e:
writetext UnknownText_0x74a9c
yesorno
@ -148,11 +148,11 @@ SailorScript_0x7499c:
checkevent EVENT_FAST_SHIP_FIRST_TIME
iffalse UnknownScript_0x749c0
checkcode VAR_WEEKDAY
if_equal SUNDAY, UnknownScript_0x749f2
if_equal SATURDAY, UnknownScript_0x749f2
if_equal TUESDAY, UnknownScript_0x749f8
if_equal WEDNESDAY, UnknownScript_0x749f8
if_equal THURSDAY, UnknownScript_0x749f8
ifequal SUNDAY, UnknownScript_0x749f2
ifequal SATURDAY, UnknownScript_0x749f2
ifequal TUESDAY, UnknownScript_0x749f8
ifequal WEDNESDAY, UnknownScript_0x749f8
ifequal THURSDAY, UnknownScript_0x749f8
UnknownScript_0x749c0:
writetext UnknownText_0x74a9c
yesorno
@ -166,7 +166,7 @@ UnknownScript_0x749c0:
closetext
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
checkcode VAR_FACING
if_equal RIGHT, UnknownScript_0x749e5
ifequal RIGHT, UnknownScript_0x749e5
applymovement PLAYER, MovementData_0x74a3f
jump SailorScript_0x748c0

View File

@ -42,7 +42,7 @@ TrainerCamperJerry:
trainer CAMPER, JERRY, EVENT_BEAT_CAMPER_JERRY, CamperJerrySeenText, CamperJerryBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext CamperJerryAfterBattleText
waitbutton

View File

@ -17,7 +17,7 @@ Pokecenter2F_MapScripts:
.Scene0:
special CheckMysteryGift
if_equal $0, .Scene0Done
ifequal $0, .Scene0Done
clearevent EVENT_MYSTERY_GIFT_DELIVERY_GUY
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
iftrue .Scene0Done
@ -79,7 +79,7 @@ LinkReceptionistScript_Trade:
writetext Text_TradeReceptionistMobile
special AskMobileOrCable
iffalse .Cancel
if_equal $1, .Mobile
ifequal $1, .Mobile
.NoMobile:
special SetBitsForLinkTradeRequest
writetext Text_PleaseWait
@ -181,7 +181,7 @@ LinkReceptionistScript_Battle:
writetext Text_BattleReceptionistMobile
special AskMobileOrCable
iffalse .Cancel
if_equal $1, .Mobile
ifequal $1, .Mobile
.NoMobile:
special SetBitsForBattleRequest
writetext Text_PleaseWait
@ -271,9 +271,9 @@ LinkReceptionistScript_Battle:
.SelectThreeMons:
special Mobile_SelectThreeMons
iffalse .Mobile_DidNotSelect
if_equal $1, .Mobile_OK
if_equal $2, .Mobile_OK
if_equal $3, .Mobile_InvalidParty
ifequal $1, .Mobile_OK
ifequal $2, .Mobile_OK
ifequal $3, .Mobile_InvalidParty
jump .Mobile_DidNotSelect
.Mobile_InvalidParty:
@ -308,9 +308,9 @@ LinkReceptionistScript_TimeCapsule:
yesorno
iffalse .Cancel
special CheckTimeCapsuleCompatibility
if_equal $1, .MonTooNew
if_equal $2, .MonMoveTooNew
if_equal $3, .MonHasMail
ifequal $1, .MonTooNew
ifequal $2, .MonMoveTooNew
ifequal $3, .MonHasMail
writetext Text_PleaseWait
special WaitForLinkedFriend
iffalse .FriendNotReady
@ -494,8 +494,8 @@ TimeCapsuleScript_CheckPlayerGender:
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Female
checkcode VAR_FACING
if_equal LEFT, .MaleFacingLeft
if_equal RIGHT, .MaleFacingRight
ifequal LEFT, .MaleFacingLeft
ifequal RIGHT, .MaleFacingRight
applymovement2 Pokecenter2FMovementData_ReceptionistStepsLeftLooksDown
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesTwoStepsUp_2
end
@ -512,8 +512,8 @@ TimeCapsuleScript_CheckPlayerGender:
.Female:
checkcode VAR_FACING
if_equal RIGHT, .FemaleFacingRight
if_equal LEFT, .FemaleFacingLeft
ifequal RIGHT, .FemaleFacingRight
ifequal LEFT, .FemaleFacingLeft
applymovement2 Pokecenter2FMovementData_ReceptionistStepsLeftLooksRight_2
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesOneStepUp_2
jump .FemaleContinue
@ -532,7 +532,7 @@ TimeCapsuleScript_CheckPlayerGender:
waitbutton
closetext
checkcode VAR_FACING
if_not_equal UP, .FemaleChangeApperance
ifnotequal UP, .FemaleChangeApperance
spriteface PLAYER, LEFT
.FemaleChangeApperance:
opentext

View File

@ -26,8 +26,8 @@ UnknownScript_0x625df:
loadmenuheader MenuHeader_0x62602
verticalmenu
closewindow
if_equal 1, UnknownScript_0x625f0
if_equal 2, UnknownScript_0x625f8
ifequal 1, UnknownScript_0x625f0
ifequal 2, UnknownScript_0x625f8
jump UnknownScript_0x62600
UnknownScript_0x625f0:
@ -68,8 +68,8 @@ UnknownScript_0x62629:
loadmenuheader MenuHeader_0x6264c
verticalmenu
closewindow
if_equal 1, UnknownScript_0x6263a
if_equal 2, UnknownScript_0x62642
ifequal 1, UnknownScript_0x6263a
ifequal 2, UnknownScript_0x62642
jump UnknownScript_0x6264a
UnknownScript_0x6263a:

View File

@ -55,9 +55,9 @@ GentlemanScript_0x5cd3d:
closetext
applymovement RADIOTOWER1F_GENTLEMAN, MovementData_0x5ce74
opentext
if_equal 1, .FirstPlace
if_equal 2, .SecondPlace
if_equal 3, .ThirdPlace
ifequal 1, .FirstPlace
ifequal 2, .SecondPlace
ifequal 3, .ThirdPlace
jump .NoPrize
.GameOver:
@ -187,7 +187,7 @@ TrainerGruntM3:
trainer GRUNTM, GRUNTM_3, EVENT_BEAT_ROCKET_GRUNTM_3, GruntM3SeenText, GruntM3BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntM3AfterBattleText
waitbutton

View File

@ -56,7 +56,7 @@ TrainerGruntM4:
trainer GRUNTM, GRUNTM_4, EVENT_BEAT_ROCKET_GRUNTM_4, GruntM4SeenText, GruntM4BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntM4AfterBattleText
waitbutton
@ -67,7 +67,7 @@ TrainerGruntM5:
trainer GRUNTM, GRUNTM_5, EVENT_BEAT_ROCKET_GRUNTM_5, GruntM5SeenText, GruntM5BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntM5AfterBattleText
waitbutton
@ -78,7 +78,7 @@ TrainerGruntM6:
trainer GRUNTM, GRUNTM_6, EVENT_BEAT_ROCKET_GRUNTM_6, GruntM6SeenText, GruntM6BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntM6AfterBattleText
waitbutton
@ -89,7 +89,7 @@ TrainerGruntF2:
trainer GRUNTF, GRUNTF_2, EVENT_BEAT_ROCKET_GRUNTF_2, GruntF2SeenText, GruntF2BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntF2AfterBattleText
waitbutton
@ -106,13 +106,13 @@ Buena:
checkflag ENGINE_BUENAS_PASSWORD_2
iftrue UnknownScript_0x5d82f
checkcode VAR_HOUR
if_less_than 18, UnknownScript_0x5d893
ifless 18, UnknownScript_0x5d893
checkflag ENGINE_BUENAS_PASSWORD
iffalse UnknownScript_0x5d80a
checkitem BLUE_CARD
iffalse UnknownScript_0x5d86b
checkcode VAR_BLUECARDBALANCE
if_equal 30, UnknownScript_0x5d87f
ifequal 30, UnknownScript_0x5d87f
playmusic MUSIC_BUENAS_PASSWORD
writetext UnknownText_0x5de35
special AskRememberPassword
@ -122,7 +122,7 @@ Buena:
closetext
spriteface RADIOTOWER2F_BUENA, RIGHT
checkcode VAR_FACING
if_not_equal RIGHT, UnknownScript_0x5d7be
ifnotequal RIGHT, UnknownScript_0x5d7be
applymovement PLAYER, MovementData_0x5d921
UnknownScript_0x5d7be:
spriteface PLAYER, RIGHT
@ -155,7 +155,7 @@ UnknownScript_0x5d7be:
pause 20
special RestartMapMusic
checkcode VAR_BLUECARDBALANCE
if_equal 30, UnknownScript_0x5d8a4
ifequal 30, UnknownScript_0x5d8a4
end
UnknownScript_0x5d800:
@ -279,8 +279,8 @@ UnknownScript_0x5d8cc:
writetext UnknownText_0x5e2bf
UnknownScript_0x5d8d0:
askforphonenumber PHONE_BUENA
if_equal PHONE_CONTACTS_FULL, UnknownScript_0x5d8f6
if_equal PHONE_CONTACT_REFUSED, UnknownScript_0x5d8ed
ifequal PHONE_CONTACTS_FULL, UnknownScript_0x5d8f6
ifequal PHONE_CONTACT_REFUSED, UnknownScript_0x5d8ed
writetext UnknownText_0x5e2f3
playsound SFX_REGISTER_PHONE_NUMBER
waitsfx

View File

@ -84,7 +84,7 @@ TrainerGruntM7:
trainer GRUNTM, GRUNTM_7, EVENT_BEAT_ROCKET_GRUNTM_7, GruntM7SeenText, GruntM7BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntM7AfterBattleText
waitbutton
@ -95,7 +95,7 @@ TrainerGruntM8:
trainer GRUNTM, GRUNTM_8, EVENT_BEAT_ROCKET_GRUNTM_8, GruntM8SeenText, GruntM8BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntM8AfterBattleText
waitbutton
@ -106,7 +106,7 @@ TrainerGruntM9:
trainer GRUNTM, GRUNTM_9, EVENT_BEAT_ROCKET_GRUNTM_9, GruntM9SeenText, GruntM9BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntM9AfterBattleText
waitbutton
@ -117,7 +117,7 @@ TrainerScientistMarc:
trainer SCIENTIST, MARC, EVENT_BEAT_SCIENTIST_MARC, ScientistMarcSeenText, ScientistMarcBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext ScientistMarcAfterBattleText
waitbutton

View File

@ -57,7 +57,7 @@ TrainerGruntM10:
trainer GRUNTM, GRUNTM_10, EVENT_BEAT_ROCKET_GRUNTM_10, GruntM10SeenText, GruntM10BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntM10AfterBattleText
waitbutton
@ -68,7 +68,7 @@ TrainerExecutivem2:
trainer EXECUTIVEM, EXECUTIVEM_2, EVENT_BEAT_ROCKET_EXECUTIVEM_2, Executivem2SeenText, Executivem2BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext Executivem2AfterBattleText
waitbutton
@ -79,7 +79,7 @@ TrainerGruntF4:
trainer GRUNTF, GRUNTF_4, EVENT_BEAT_ROCKET_GRUNTF_4, GruntF4SeenText, GruntF4BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext GruntF4AfterBattleText
waitbutton
@ -90,7 +90,7 @@ TrainerScientistRich:
trainer SCIENTIST, RICH, EVENT_BEAT_SCIENTIST_RICH, ScientistRichSeenText, ScientistRichBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext ScientistRichAfterBattleText
waitbutton

View File

@ -69,7 +69,7 @@ TrainerExecutivef1:
trainer EXECUTIVEF, EXECUTIVEF_1, EVENT_BEAT_ROCKET_EXECUTIVEF_1, Executivef1SeenText, Executivef1BeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext Executivef1AfterBattleText
waitbutton

View File

@ -12,7 +12,7 @@ TrainerSchoolboyDanny:
trainer SCHOOLBOY, DANNY, EVENT_BEAT_SCHOOLBOY_DANNY, SchoolboyDannySeenText, SchoolboyDannyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SchoolboyDannyAfterBattleText
waitbutton
@ -23,7 +23,7 @@ TrainerCooltrainerfQuinn:
trainer COOLTRAINERF, QUINN, EVENT_BEAT_COOLTRAINERF_QUINN, CooltrainerfQuinnSeenText, CooltrainerfQuinnBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext CooltrainerfQuinnAfterBattleText
waitbutton

View File

@ -11,7 +11,7 @@ TrainerHikerJim:
trainer HIKER, JIM, EVENT_BEAT_HIKER_JIM, HikerJimSeenText, HikerJimBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext HikerJimAfterBattleText
waitbutton
@ -22,7 +22,7 @@ TrainerPokefanmRobert:
trainer POKEFANM, ROBERT, EVENT_BEAT_POKEFANM_ROBERT, PokefanmRobertSeenText, PokefanmRobertBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PokefanmRobertAfterBattleText
waitbutton

View File

@ -14,7 +14,7 @@ TrainerYoungsterOwen:
trainer YOUNGSTER, OWEN, EVENT_BEAT_YOUNGSTER_OWEN, YoungsterOwenSeenText, YoungsterOwenBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext YoungsterOwenAfterBattleText
waitbutton
@ -25,7 +25,7 @@ TrainerYoungsterJason:
trainer YOUNGSTER, JASON, EVENT_BEAT_YOUNGSTER_JASON, YoungsterJasonSeenText, YoungsterJasonBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext YoungsterJasonAfterBattleText
waitbutton
@ -36,7 +36,7 @@ TrainerPsychicHerman:
trainer PSYCHIC_T, HERMAN, EVENT_BEAT_PSYCHIC_HERMAN, PsychicHermanSeenText, PsychicHermanBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PsychicHermanAfterBattleText
waitbutton
@ -47,7 +47,7 @@ TrainerPsychicFidel:
trainer PSYCHIC_T, FIDEL, EVENT_BEAT_PSYCHIC_FIDEL, PsychicFidelSeenText, PsychicFidelBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PsychicFidelAfterBattleText
waitbutton

View File

@ -15,7 +15,7 @@ TrainerFisherKyle:
trainer FISHER, KYLE, EVENT_BEAT_FISHER_KYLE, FisherKyleSeenText, FisherKyleBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext FisherKyleAfterBattleText
waitbutton
@ -26,7 +26,7 @@ TrainerFisherMartin:
trainer FISHER, MARTIN, EVENT_BEAT_FISHER_MARTIN, FisherMartinSeenText, FisherMartinBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext FisherMartinAfterBattleText
waitbutton
@ -37,7 +37,7 @@ TrainerFisherStephen:
trainer FISHER, STEPHEN, EVENT_BEAT_FISHER_STEPHEN, FisherStephenSeenText, FisherStephenBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext FisherStephenAfterBattleText
waitbutton
@ -48,7 +48,7 @@ TrainerFisherBarney:
trainer FISHER, BARNEY, EVENT_BEAT_FISHER_BARNEY, FisherBarneySeenText, FisherBarneyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext FisherBarneyAfterBattleText
waitbutton

View File

@ -14,7 +14,7 @@ TrainerPokefanmAlex:
trainer POKEFANM, ALEX, EVENT_BEAT_POKEFANM_ALEX, PokefanmAlexSeenText, PokefanmAlexBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PokefanmAlexAfterBattleText
waitbutton
@ -25,7 +25,7 @@ TrainerPokefanmJoshua:
trainer POKEFANM, JOSHUA, EVENT_BEAT_POKEFANM_JOSHUA, PokefanmJoshuaSeenText, PokefanmJoshuaBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PokefanmJoshuaAfterBattleText
waitbutton
@ -36,7 +36,7 @@ TrainerBirdKeeperPerry:
trainer BIRD_KEEPER, PERRY, EVENT_BEAT_BIRD_KEEPER_PERRY, BirdKeeperPerrySeenText, BirdKeeperPerryBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BirdKeeperPerryAfterBattleText
waitbutton
@ -47,7 +47,7 @@ TrainerBirdKeeperBret:
trainer BIRD_KEEPER, BRET, EVENT_BEAT_BIRD_KEEPER_BRET, BirdKeeperBretSeenText, BirdKeeperBretBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BirdKeeperBretAfterBattleText
waitbutton
@ -58,7 +58,7 @@ TrainerHikerKenny:
trainer HIKER, KENNY, EVENT_BEAT_HIKER_KENNY, HikerKennySeenText, HikerKennyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext HikerKennyAfterBattleText
waitbutton

View File

@ -21,7 +21,7 @@ TrainerPokefanmCarter:
trainer POKEFANM, CARTER, EVENT_BEAT_POKEFANM_CARTER, PokefanmCarterSeenText, PokefanmCarterBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PokefanmCarterAfterBattleText
waitbutton
@ -32,7 +32,7 @@ TrainerBirdKeeperRoy:
trainer BIRD_KEEPER, ROY, EVENT_BEAT_BIRD_KEEPER_ROY, BirdKeeperRoySeenText, BirdKeeperRoyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BirdKeeperRoyAfterBattleText
waitbutton
@ -43,7 +43,7 @@ TrainerPokefanmTrevor:
trainer POKEFANM, TREVOR, EVENT_BEAT_POKEFANM_TREVOR, PokefanmTrevorSeenText, PokefanmTrevorBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext PokefanmTrevorAfterBattleText
waitbutton

View File

@ -16,7 +16,7 @@ TrainerTeacherColette:
trainer TEACHER, COLETTE, EVENT_BEAT_TEACHER_COLETTE, TeacherColetteSeenText, TeacherColetteBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext TeacherColetteAfterBattleText
waitbutton
@ -27,7 +27,7 @@ TrainerTeacherHillary:
trainer TEACHER, HILLARY, EVENT_BEAT_TEACHER_HILLARY, TeacherHillarySeenText, TeacherHillaryBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext TeacherHillaryAfterBattleText
waitbutton
@ -38,7 +38,7 @@ TrainerSchoolboyKipp:
trainer SCHOOLBOY, KIPP, EVENT_BEAT_SCHOOLBOY_KIP, SchoolboyKippSeenText, SchoolboyKippBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SchoolboyKippAfterBattleText
waitbutton
@ -49,7 +49,7 @@ TrainerSchoolboyTommy:
trainer SCHOOLBOY, TOMMY, EVENT_BEAT_SCHOOLBOY_TOMMY, SchoolboyTommySeenText, SchoolboyTommyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SchoolboyTommyAfterBattleText
waitbutton
@ -60,7 +60,7 @@ TrainerSchoolboyJohnny:
trainer SCHOOLBOY, JOHNNY, EVENT_BEAT_SCHOOLBOY_JOHNNY, SchoolboyJohnnySeenText, SchoolboyJohnnyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SchoolboyJohnnyAfterBattleText
waitbutton
@ -71,7 +71,7 @@ TrainerSchoolboyBilly:
trainer SCHOOLBOY, BILLY, EVENT_BEAT_SCHOOLBOY_BILLY, SchoolboyBillySeenText, SchoolboyBillyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SchoolboyBillyAfterBattleText
waitbutton

View File

@ -6,9 +6,9 @@ Route16_MapScripts:
.AlwaysOnBike:
checkcode VAR_YCOORD
if_less_than 5, .CanWalk
ifless 5, .CanWalk
checkcode VAR_XCOORD
if_greater_than 13, .CanWalk
ifgreater 13, .CanWalk
setflag ENGINE_ALWAYS_ON_BIKE
return

View File

@ -19,7 +19,7 @@ TrainerBikerCharles:
trainer BIKER, CHARLES, EVENT_BEAT_BIKER_CHARLES, BikerCharlesSeenText, BikerCharlesBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BikerCharlesAfterBattleText
waitbutton
@ -30,7 +30,7 @@ TrainerBikerRiley:
trainer BIKER, RILEY, EVENT_BEAT_BIKER_RILEY, BikerRileySeenText, BikerRileyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BikerRileyAfterBattleText
waitbutton
@ -41,7 +41,7 @@ TrainerBikerJoel:
trainer BIKER, JOEL, EVENT_BEAT_BIKER_JOEL, BikerJoelSeenText, BikerJoelBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BikerJoelAfterBattleText
waitbutton
@ -52,7 +52,7 @@ TrainerBikerGlenn:
trainer BIKER, GLENN, EVENT_BEAT_BIKER_GLENN, BikerGlennSeenText, BikerGlennBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BikerGlennAfterBattleText
waitbutton

View File

@ -11,7 +11,7 @@ TrainerBirdKeeperBoris:
trainer BIRD_KEEPER, BORIS, EVENT_BEAT_BIRD_KEEPER_BORIS, BirdKeeperBorisSeenText, BirdKeeperBorisBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BirdKeeperBorisAfterBattleText
waitbutton
@ -22,7 +22,7 @@ TrainerBirdKeeperBob:
trainer BIRD_KEEPER, BOB, EVENT_BEAT_BIRD_KEEPER_BOB, BirdKeeperBobSeenText, BirdKeeperBobBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BirdKeeperBobAfterBattleText
waitbutton

View File

@ -28,7 +28,7 @@ TrainerSwimmerfDawn:
trainer SWIMMERF, DAWN, EVENT_BEAT_SWIMMERF_DAWN, SwimmerfDawnSeenText, SwimmerfDawnBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SwimmerfDawnAfterBattleText
waitbutton
@ -39,7 +39,7 @@ TrainerSwimmermHarold:
trainer SWIMMERM, HAROLD, EVENT_BEAT_SWIMMERM_HAROLD, SwimmermHaroldSeenText, SwimmermHaroldBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SwimmermHaroldAfterBattleText
waitbutton
@ -50,7 +50,7 @@ TrainerSwimmermJerome:
trainer SWIMMERM, JEROME, EVENT_BEAT_SWIMMERM_JEROME, SwimmermJeromeSeenText, SwimmermJeromeBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SwimmermJeromeAfterBattleText
waitbutton
@ -61,7 +61,7 @@ TrainerSwimmermTucker:
trainer SWIMMERM, TUCKER, EVENT_BEAT_SWIMMERM_TUCKER, SwimmermTuckerSeenText, SwimmermTuckerBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SwimmermTuckerAfterBattleText
waitbutton

View File

@ -17,7 +17,7 @@ TrainerBugCatcherRob:
trainer BUG_CATCHER, ROB, EVENT_BEAT_BUG_CATCHER_ROB, BugCatcherRobSeenText, BugCatcherRobBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BugCatcherRobAfterBattleText
waitbutton
@ -28,7 +28,7 @@ TrainerBugCatcherEd:
trainer BUG_CATCHER, ED, EVENT_BEAT_BUG_CATCHER_ED, BugCatcherEdSeenText, BugCatcherEdBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BugCatcherEdAfterBattleText
waitbutton
@ -39,7 +39,7 @@ TrainerBugCatcherDoug:
trainer BUG_CATCHER, DOUG, EVENT_BEAT_BUG_CATCHER_DOUG, BugCatcherDougSeenText, BugCatcherDougBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext BugCatcherDougAfterBattleText
waitbutton

View File

@ -17,7 +17,7 @@ TrainerSwimmerfNicole:
trainer SWIMMERF, NICOLE, EVENT_BEAT_SWIMMERF_NICOLE, SwimmerfNicoleSeenText, SwimmerfNicoleBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SwimmerfNicoleAfterBattleText
waitbutton
@ -28,7 +28,7 @@ TrainerSwimmerfLori:
trainer SWIMMERF, LORI, EVENT_BEAT_SWIMMERF_LORI, SwimmerfLoriSeenText, SwimmerfLoriBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SwimmerfLoriAfterBattleText
waitbutton
@ -39,7 +39,7 @@ TrainerSwimmermCameron:
trainer SWIMMERM, CAMERON, EVENT_BEAT_SWIMMERM_CAMERON, SwimmermCameronSeenText, SwimmermCameronBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SwimmermCameronAfterBattleText
waitbutton

View File

@ -12,7 +12,7 @@ TrainerSwimmermSeth:
trainer SWIMMERM, SETH, EVENT_BEAT_SWIMMERM_SETH, SwimmermSethSeenText, SwimmermSethBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SwimmermSethAfterBattleText
waitbutton
@ -23,7 +23,7 @@ TrainerSwimmerfNikki:
trainer SWIMMERF, NIKKI, EVENT_BEAT_SWIMMERF_NIKKI, SwimmerfNikkiSeenText, SwimmerfNikkiBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SwimmerfNikkiAfterBattleText
waitbutton
@ -34,7 +34,7 @@ TrainerFisherArnold:
trainer FISHER, ARNOLD, EVENT_BEAT_FISHER_ARNOLD, FisherArnoldSeenText, FisherArnoldBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext FisherArnoldAfterBattleText
waitbutton

View File

@ -80,7 +80,7 @@ TrainerSchoolboyDudley:
trainer SCHOOLBOY, DUDLEY, EVENT_BEAT_SCHOOLBOY_DUDLEY, SchoolboyDudleySeenText, SchoolboyDudleyBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SchoolboyDudleyAfterBattleText
waitbutton
@ -91,7 +91,7 @@ TrainerLassEllen:
trainer LASS, ELLEN, EVENT_BEAT_LASS_ELLEN, LassEllenSeenText, LassEllenBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext LassEllenAfterBattleText
waitbutton
@ -102,7 +102,7 @@ TrainerSchoolboyJoe:
trainer SCHOOLBOY, JOE, EVENT_BEAT_SCHOOLBOY_JOE, SchoolboyJoeSeenText, SchoolboyJoeBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SchoolboyJoeAfterBattleText
waitbutton
@ -113,7 +113,7 @@ TrainerLassLaura:
trainer LASS, LAURA, EVENT_BEAT_LASS_LAURA, LassLauraSeenText, LassLauraBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext LassLauraAfterBattleText
waitbutton
@ -124,7 +124,7 @@ TrainerCamperLloyd:
trainer CAMPER, LLOYD, EVENT_BEAT_CAMPER_LLOYD, CamperLloydSeenText, CamperLloydBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext CamperLloydAfterBattleText
waitbutton
@ -135,7 +135,7 @@ TrainerLassShannon:
trainer LASS, SHANNON, EVENT_BEAT_LASS_SHANNON, LassShannonSeenText, LassShannonBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext LassShannonAfterBattleText
waitbutton
@ -146,7 +146,7 @@ TrainerSupernerdPat:
trainer SUPER_NERD, PAT, EVENT_BEAT_SUPER_NERD_PAT, SupernerdPatSeenText, SupernerdPatBeatenText, 0, .Script
.Script:
end_if_just_battled
endifjustbattled
opentext
writetext SupernerdPatAfterBattleText
waitbutton

Some files were not shown because too many files have changed in this diff Show More