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> ## `$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> ## `$08`: <code>iffalse <i>script</i></code>
## `$09`: <code>iftrue <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> ## `$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` ## `$65`: `scripttalkafter`
## `$66`: `end_if_just_battled` ## `$66`: `endifjustbattled`
## `$67`: `check_just_battled` ## `$67`: `checkjustbattled`
## `$68`: <code>setlasttalked <i>object_id</i></code> ## `$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> ## `$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> ## `$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> ## `$A8`: <code>wait <i>duration</i></code>
## `$A9`: `check_save` ## `$A9`: `checksave`

View File

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

View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

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

View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -37,16 +37,16 @@ ptjump: MACRO
dw \1 ; pointer dw \1 ; pointer
ENDM ENDM
enum if_equal_command ; $06 enum ifequal_command ; $06
if_equal: MACRO ifequal: MACRO
db if_equal_command db ifequal_command
db \1 ; byte db \1 ; byte
dw \2 ; pointer dw \2 ; pointer
ENDM ENDM
enum if_not_equal_command ; $07 enum ifnotequal_command ; $07
if_not_equal: MACRO ifnotequal: MACRO
db if_not_equal_command db ifnotequal_command
db \1 ; byte db \1 ; byte
dw \2 ; pointer dw \2 ; pointer
ENDM ENDM
@@ -63,16 +63,16 @@ iftrue: MACRO
dw \1 ; pointer dw \1 ; pointer
ENDM ENDM
enum if_greater_than_command ; $0a enum ifgreater_command ; $0a
if_greater_than: MACRO ifgreater: MACRO
db if_greater_than_command db ifgreater_command
db \1 ; byte db \1 ; byte
dw \2 ; pointer dw \2 ; pointer
ENDM ENDM
enum if_less_than_command ; $0b enum ifless_command ; $0b
if_less_than: MACRO ifless: MACRO
db if_less_than_command db ifless_command
db \1 ; byte db \1 ; byte
dw \2 ; pointer dw \2 ; pointer
ENDM ENDM
@@ -651,14 +651,14 @@ scripttalkafter: MACRO
db scripttalkafter_command db scripttalkafter_command
ENDM ENDM
enum end_if_just_battled_command ; $66 enum endifjustbattled_command ; $66
end_if_just_battled: MACRO endifjustbattled: MACRO
db end_if_just_battled_command db endifjustbattled_command
ENDM ENDM
enum check_just_battled_command ; $67 enum checkjustbattled_command ; $67
check_just_battled: MACRO checkjustbattled: MACRO
db check_just_battled_command db checkjustbattled_command
ENDM ENDM
enum setlasttalked_command ; $68 enum setlasttalked_command ; $68
@@ -920,9 +920,9 @@ reloadandreturn: MACRO
db \1 ; which_method db \1 ; which_method
ENDM ENDM
enum end_all_command ; $93 enum endall_command ; $93
end_all: MACRO endall: MACRO
db end_all_command db endall_command
ENDM ENDM
enum pokemart_command ; $94 enum pokemart_command ; $94
@@ -1062,7 +1062,7 @@ wait: MACRO
db \1 ; duration db \1 ; duration
ENDM ENDM
enum check_save_command ; $a9 enum checksave_command ; $a9
check_save: MACRO checksave: MACRO
db check_save_command db checksave_command
ENDM ENDM

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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