Sync some event_scripts.s, split files

This commit is contained in:
GriffinR
2020-01-08 21:05:04 -05:00
parent 2e5bf6c9ef
commit 7eb5464860
52 changed files with 5901 additions and 5880 deletions
+257
View File
@@ -0,0 +1,257 @@
Route5_PokemonDayCare_EventScript_1BF398:: @ 81BF398
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_1A7AE0
lock
faceplayer
showmoneybox 0, 0, 0
specialvar VAR_RESULT, IsThereMonInRoute5Daycare
compare VAR_RESULT, 1
goto_if eq, EventScript_1BF46E
msgbox Text_19DD66, 5
compare VAR_RESULT, 1
goto_if eq, EventScript_1BF3DD
msgbox Text_19DDB2
goto EventScript_1BF541
end
EventScript_1BF3DD:: @ 81BF3DD
specialvar VAR_RESULT, CountPartyNonEggMons
compare VAR_RESULT, 1
goto_if eq, EventScript_1BF452
msgbox Text_19DDBE
fadescreen 1
hidemoneybox 0, 0
special ChooseSendDaycareMon
waitstate
showmoneybox 0, 0, 0
compare VAR_0x8004, 6
goto_if ge, EventScript_1BF444
specialvar VAR_RESULT, CountPartyAliveNonEggMons_IgnoreVar0x8004Slot
compare VAR_RESULT, 0
goto_if eq, EventScript_1BF460
specialvar VAR_0x8005, GetSelectedMonNickAndSpecies
msgbox Text_19DDF9
waitse
playmoncry VAR_0x8005, 0
msgbox Text_19DE24
waitmoncry
special PutMonInRoute5Daycare
incrementgamestat GAME_STAT_USED_DAYCARE
goto EventScript_1BF541
end
EventScript_1BF444:: @ 81BF444
msgbox Text_19DDDC
goto EventScript_1BF541
end
EventScript_1BF452:: @ 81BF452
msgbox Text_19DEF5
goto EventScript_1BF541
end
EventScript_1BF460:: @ 81BF460
msgbox Text_19DF1D
goto EventScript_1BF541
end
EventScript_1BF46E:: @ 81BF46E
setvar VAR_0x8004, 0
specialvar VAR_RESULT, GetNumLevelsGainedForRoute5DaycareMon
compare VAR_RESULT, 0
call_if ne, EventScript_1BF4AA
compare VAR_RESULT, 0
call_if eq, EventScript_1BF4B3
special GetCostToWithdrawRoute5DaycareMon
msgbox Text_19DE80, 5
compare VAR_RESULT, 1
goto_if eq, EventScript_1BF4BC
goto EventScript_1BF444
end
EventScript_1BF4AA:: @ 81BF4AA
msgbox Text_19DF56
return
EventScript_1BF4B3:: @ 81BF4B3
msgbox Text_19DE3C
return
EventScript_1BF4BC:: @ 81BF4BC
specialvar VAR_RESULT, CalculatePlayerPartyCount
compare VAR_RESULT, PARTY_SIZE
goto_if eq, EventScript_1BF533
specialvar VAR_RESULT, IsEnoughForCostInVar0x8005
compare VAR_RESULT, 1
goto_if eq, EventScript_1BF4EA
msgbox Text_19E001
goto EventScript_1BF541
end
EventScript_1BF4EA:: @ 81BF4EA
setvar VAR_0x8004, 0
specialvar VAR_RESULT, TakePokemonFromRoute5Daycare
special SubtractMoneyFromVar0x8005
updatemoneybox 0, 0, 0
copyvar VAR_0x8008, VAR_RESULT
countpokemon
subvar VAR_RESULT, 1
getpartymonname 0, VAR_RESULT
copyvar VAR_RESULT, VAR_0x8008
msgbox Text_19DEAF
textcolor 3
waitse
playmoncry VAR_RESULT, 0
msgbox Text_19DECF
call EventScript_1A6675
waitmoncry
goto EventScript_1BF541
end
EventScript_1BF533:: @ 81BF533
msgbox Text_19DFC2
goto EventScript_1BF541
end
EventScript_1BF541:: @ 81BF541
hidemoneybox 0, 0
release
end
EventScript_81BF546:: @ 81BF546
lockall
msgbox Text_1BFB5A
special EggHatch
waitstate
releaseall
end
gUnknown_81BF555:: @ 81BF555
.string "I'm the DAY-CARE MAN.\p"
.string "I help take care of the precious\n"
.string "POKéMON of TRAINERS.\p"
.string "If you'd like me to raise your\n"
.string "POKéMON, have a word with my wife.$"
gUnknown_81BF5E3:: @ 81BF5E3
.string "Ah, it's you!\p"
.string "We were raising your POKéMON, and\n"
.string "my goodness, were we surprised!\p"
.string "Your POKéMON had an EGG!\p"
.string "We don't know how it got there,\n"
.string "but your POKéMON had it.\p"
.string "You do want it, yes?$"
gUnknown_81BF69A:: @ 81BF69A
.string "Ah, it's you! Good to see you.\n"
.string "Your {STR_VAR_1}'s doing fine.$"
gUnknown_81BF6CF:: @ 81BF6CF
.string "Well then, I'll keep it.\n"
.string "Thanks!$"
gUnknown_81BF6F0:: @ 81BF6F0
.string "You have no room for it…\n"
.string "Come back when you've made room.$"
Text_1BF72A:: @ 81BF72A
.string "{PLAYER} received the EGG from\n"
.string "the DAY-CARE MAN.$"
gUnknown_81BF755:: @ 81BF755
.string "Take good care of it.$"
Text_1BF76B:: @ 81BF76B
.string "ポケモンを ひきとりたい ときは\n"
.string "ばさんに いって おくれ$"
gUnknown_81BF789:: @ 81BF789
.string "Ah, it's you! Your {STR_VAR_1} and\n"
.string "{STR_VAR_2} are doing fine.$"
gUnknown_81BF7B6:: @ 81BF7B6
.string "I really will keep it.\n"
.string "You do want this, yes?$"
gUnknown_81BF7E4:: @ 81BF7E4
.string "I'm the DAY-CARE LADY.\p"
.string "We can raise POKéMON for you.\p"
.string "Would you like us to raise one?$"
gUnknown_81BF839:: @ 81BF839
.string "Which POKéMON should we raise for\n"
.string "you?$"
gUnknown_81BF860:: @ 81BF860
.string "Fine, we'll raise your {STR_VAR_1}\n"
.string "for a while.\p"
.string "Come back for it later.$"
gUnknown_81BF89F:: @ 81BF89F
.string "We can raise two of your POKéMON.\p"
.string "Would you like us to raise one\n"
.string "more POKéMON for you?$"
gUnknown_81BF8F6:: @ 81BF8F6
.string "My husband was looking for you.$"
gUnknown_81BF916:: @ 81BF916
.string "Oh, fine, then.\n"
.string "Come again.$"
gUnknown_81BF932:: @ 81BF932
.string "You don't have enough money…$"
gUnknown_81BF94F:: @ 81BF94F
.string "Will you take back the other one,\n"
.string "too?$"
gUnknown_81BF976:: @ 81BF976
.string "Fine.\n"
.string "Come again.$"
gUnknown_81BF988:: @ 81BF988
.string "Ah, it's you!\n"
.string "Good to see you.\p"
.string "Your POKéMON can only be doing\n"
.string "good!$"
gUnknown_81BF9CC:: @ 81BF9CC
.string "By level, your {STR_VAR_1} has\n"
.string "grown by {STR_VAR_2}.$"
gUnknown_81BF9EF:: @ 81BF9EF
.string "Your POKéMON party is full.\n"
.string "Make room, then come see me.$"
Text_1BFA28:: @ 81BFA28
.string "どっちの ポケモンを ひきとるかい?$"
gUnknown_81BFA3B:: @ 81BFA3B
.string "If you want your {STR_VAR_1} back,\n"
.string "it will cost ¥{STR_VAR_2}.$"
gUnknown_81BFA67:: @ 81BFA67
.string "Perfect!\n"
.string "Here's your POKéMON.$"
gUnknown_81BFA85:: @ 81BFA85
.string "{PLAYER} took back {STR_VAR_1} from\n"
.string "the DAY-CARE LADY.$"
gUnknown_81BFAAD:: @ 81BFAAD
.string "Oh? But you have just one\n"
.string "POKéMON.\p"
.string "Come back another time.$"
gUnknown_81BFAE8:: @ 81BFAE8
.string "Will you take your POKéMON back?$"
gUnknown_81BFB09:: @ 81BFB09
.string "If you leave me that POKéMON,\n"
.string "what will you battle with?\p"
.string "Come back another time.$"
Text_1BFB5A:: @ 81BFB5A
.string "Huh?$"
+286
View File
@@ -0,0 +1,286 @@
ViridianCity_House2_EventScript_1ACD65:: @ 81ACD65
lock
faceplayer
famechecker FAMECHECKER_OAK, 3
famechecker FAMECHECKER_DAISY, 3
textcolor 3
msgbox gUnknown_81B1AB9
release
end
EventScript_1ACD8D:: @ 81ACD8D
lock
faceplayer
famechecker FAMECHECKER_DAISY, 1
famechecker FAMECHECKER_OAK, 4
textcolor 3
msgbox gUnknown_81B1AB9
release
end
EventScript_1ACDB5:: @ 81ACDB5
lock
faceplayer
famechecker FAMECHECKER_DAISY, 4
textcolor 3
msgbox gUnknown_81B1AB9
release
end
FourIsland_PokemonCenter_1F_EventScript_1ACDD0:: @ 81ACDD0
lockall
famechecker FAMECHECKER_DAISY, 5
textcolor 3
msgbox gUnknown_81B1B3D
releaseall
end
Route4_EventScript_1ACDEA:: @ 81ACDEA
lock
faceplayer
famechecker FAMECHECKER_BROCK, 3
msgbox Text_183D26
release
end
MtMoon_1F_EventScript_1ACE03:: @ 81ACE03
lock
faceplayer
famechecker FAMECHECKER_BROCK, 4
msgbox Text_172B00
release
end
PewterCity_Museum_1F_EventScript_1ACE1C:: @ 81ACE1C
lockall
famechecker FAMECHECKER_BROCK, 5
textcolor 3
msgbox gUnknown_81B146A
releaseall
end
Route20_EventScript_1ACE36:: @ 81ACE36
lock
faceplayer
famechecker FAMECHECKER_MISTY, 3
msgbox Text_1882E1
release
end
Route25_EventScript_1ACE4F:: @ 81ACE4F
lock
faceplayer
famechecker FAMECHECKER_MISTY, 4
msgbox Text_189569
release
end
CeruleanCity_PokemonCenter_1F_EventScript_1ACE68:: @ 81ACE68
lock
faceplayer
famechecker FAMECHECKER_MISTY, 5
textcolor 3
msgbox gUnknown_81B14E8
release
end
VermilionCity_PokemonCenter_1F_EventScript_1ACE83:: @ 81ACE83
lockall
famechecker FAMECHECKER_LTSURGE, 5
textcolor 3
msgbox gUnknown_81B1558
releaseall
end
CeladonCity_Condominiums_2F_EventScript_1ACE9D:: @ 81ACE9D
lock
faceplayer
famechecker FAMECHECKER_ERIKA, 5
textcolor 3
msgbox gUnknown_81B161B
release
end
FuchsiaCity_Building1_EventScript_1ACEB8:: @ 81ACEB8
lock
faceplayer
famechecker FAMECHECKER_KOGA, 4
textcolor 3
msgbox gUnknown_81B16A8
release
end
SafariZone_Building3_EventScript_1ACED3:: @ 81ACED3
lock
faceplayer
famechecker FAMECHECKER_KOGA, 5
msgbox Text_177C47
release
end
SaffronCity_PokemonCenter_1F_EventScript_1ACEEC:: @ 81ACEEC
lock
faceplayer
famechecker FAMECHECKER_SABRINA, 4
textcolor 3
msgbox gUnknown_81B1753
release
end
CinnabarIsland_Gym_EventScript_1ACF07:: @ 81ACF07
lockall
famechecker FAMECHECKER_BLAINE, 4
famechecker FAMECHECKER_MRFUJI, 4
msgbox Text_199E8A
releaseall
end
FiveIsland_ResortGorgeous_House_EventScript_1ACF2C:: @ 81ACF2C
lockall
famechecker FAMECHECKER_BLAINE, 5
textcolor 3
msgbox gUnknown_81B17E9
releaseall
end
FourIsland_Mart_EventScript_1ACF46:: @ 81ACF46
lock
faceplayer
famechecker FAMECHECKER_LORELEI, 2
msgbox Text_1A3A60
release
end
FiveIsland_PokemonCenter_1F_EventScript_1ACF5F:: @ 81ACF5F
lock
faceplayer
famechecker FAMECHECKER_LORELEI, 3
textcolor 3
msgbox gUnknown_81B187F
release
end
SaffronCity_PokemonTrainerFanClub_EventScript_1ACF7A:: @ 81ACF7A
lock
faceplayer
famechecker FAMECHECKER_BRUNO, 2
textcolor 3
msgbox gUnknown_81B1913
release
end
SevenIsland_SevaultCanyon_EventScript_1ACF95:: @ 81ACF95
lock
faceplayer
famechecker FAMECHECKER_BRUNO, 5
msgbox Text_18CF4D
release
end
IndigoPlateau_PokemonCenter_1F_EventScript_1ACFAE:: @ 81ACFAE
lock
faceplayer
famechecker FAMECHECKER_AGATHA, 1
famechecker FAMECHECKER_AGATHA, 2
msgbox Text_19A9E7
release
end
SevenIsland_PokemonCenter_1F_EventScript_1ACFD4:: @ 81ACFD4
lock
faceplayer
famechecker FAMECHECKER_AGATHA, 3
textcolor 3
msgbox gUnknown_81B19A8
release
end
SixIsland_Mart_EventScript_1ACFEF:: @ 81ACFEF
lock
faceplayer
famechecker FAMECHECKER_AGATHA, 5
msgbox Text_1A41CA
release
end
EventScript_1AD008:: @ 81AD008
lock
faceplayer
famechecker FAMECHECKER_LANCE, 0
msgbox gFameCheckerFlavorText_Lance0
release
end
EventScript_1AD021:: @ 81AD021
lock
faceplayer
famechecker FAMECHECKER_LANCE, 1
msgbox Text_181569
release
end
SaffronCity_EventScript_1AD03A:: @ 81AD03A
lock
faceplayer
famechecker FAMECHECKER_LANCE, 2
msgbox Text_181569
release
end
CeladonCity_DepartmentStore_2F_EventScript_1AD053:: @ 81AD053
lock
faceplayer
famechecker FAMECHECKER_LANCE, 3
msgbox Text_19566B
release
end
IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C:: @ 81AD06C
lock
faceplayer
famechecker FAMECHECKER_LANCE, 4
textcolor 3
msgbox gUnknown_81B1A31
release
end
IndigoPlateau_PokemonCenter_1F_EventScript_1AD087:: @ 81AD087
lock
faceplayer
famechecker FAMECHECKER_LANCE, 5
msgbox Text_19AB16
release
end
LavenderTown_PokemonCenter_1F_EventScript_1AD0A0:: @ 81AD0A0
lock
faceplayer
famechecker FAMECHECKER_MRFUJI, 3
msgbox Text_19358E
release
end
CinnabarIsland_PokemonCenter_1F_EventScript_1AD0B9:: @ 81AD0B9
lock
faceplayer
famechecker FAMECHECKER_MRFUJI, 5
textcolor 3
msgbox gUnknown_81B1BD1
release
end
SilphCo_5F_EventScript_1AD0D4:: @ 81AD0D4
lock
faceplayer
famechecker FAMECHECKER_GIOVANNI, 1
msgbox Text_175E99
release
end
SilphCo_8F_EventScript_1AD0ED:: @ 81AD0ED
lock
faceplayer
famechecker FAMECHECKER_GIOVANNI, 2
msgbox Text_176ACB
release
end
+310
View File
@@ -0,0 +1,310 @@
EventScript_InteractWithCutTreeObject:: @ 81BDF13
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_1A7AE0
lockall
checkflag FLAG_BADGE02_GET
goto_if FALSE, EventScript_1BDF87
checkpartymove MOVE_CUT
compare VAR_RESULT, PARTY_SIZE
goto_if eq, EventScript_1BDF87
setfieldeffectarg 0, VAR_RESULT
getpartymonname 0, VAR_RESULT
getmovename 1, MOVE_CUT
msgbox gUnknown_81BDF94, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1BDF91
msgbox gUnknown_81BDFD7
closemessage
dofieldeffect FLDEFF_USE_CUT_ON_TREE
waitstate
goto EventScript_1BDF76
end
gUnknown_81BDF6B:: @ 81BDF6B
lockall
dofieldeffect FLDEFF_USE_CUT_ON_TREE
waitstate
goto EventScript_1BDF76
end
EventScript_1BDF76:: @ 81BDF76
applymovement VAR_LAST_TALKED, Movement_1BDF85
waitmovement 0
removeobject VAR_LAST_TALKED
releaseall
end
Movement_1BDF85:: @ 81BDF85
step_69
step_end
EventScript_1BDF87:: @ 81BDF87
msgbox gUnknown_81BDFE3, 3
releaseall
end
EventScript_1BDF91:: @ 81BDF91
closemessage
releaseall
end
gUnknown_81BDF94:: @ 81BDF94
.string "This tree looks like it can be CUT\n"
.string "down!\p"
.string "Would you like to CUT it?$"
gUnknown_81BDFD7:: @ 81BDFD7
.string "{STR_VAR_1} used {STR_VAR_2}!$"
gUnknown_81BDFE3:: @ 81BDFE3
.string "This tree looks like it can be CUT\n"
.string "down!$"
EventScript_InteractWithRockSmashRockObject:: @ 81BE00C
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_1A7AE0
lockall
checkflag FLAG_BADGE06_GET
goto_if FALSE, EventScript_1BE091
checkpartymove MOVE_ROCK_SMASH
compare VAR_RESULT, PARTY_SIZE
goto_if eq, EventScript_1BE091
setfieldeffectarg 0, VAR_RESULT
getpartymonname 0, VAR_RESULT
getmovename 1, MOVE_ROCK_SMASH
msgbox Text_1BE09D, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1BE09A
msgbox gUnknown_81BDFD7
closemessage
dofieldeffect FLDEFF_USE_ROCK_SMASH
waitstate
goto EventScript_1BE06F
end
EventScript_FldEffRockSmash:: @ 81BE064
lockall
dofieldeffect FLDEFF_USE_ROCK_SMASH
waitstate
goto EventScript_1BE06F
end
EventScript_1BE06F:: @ 81BE06F
applymovement VAR_LAST_TALKED, Movement_1BE08F
waitmovement 0
removeobject VAR_LAST_TALKED
special ScrSpecial_RockSmashWildEncounter
compare VAR_RESULT, 0
goto_if eq, EventScript_1BE08D
waitstate
releaseall
end
EventScript_1BE08D:: @ 81BE08D
releaseall
end
Movement_1BE08F:: @ 81BE08F
step_68
step_end
EventScript_1BE091:: @ 81BE091
msgbox gUnknown_81BE0E2, 3
end
EventScript_1BE09A:: @ 81BE09A
closemessage
releaseall
end
Text_1BE09D:: @ 81BE09D
.string "This rock appears to be breakable.\n"
.string "Would you like to use ROCK SMASH?$"
gUnknown_81BE0E2:: @ 81BE0E2
.string "It's a rugged rock, but a POKéMON\n"
.string "may be able to smash it.$"
EventScript_InteractWithStrengthBoulderObject:: @ 81BE11D
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_1A7AE0
lockall
checkflag FLAG_BADGE04_GET
goto_if FALSE, EventScript_1BE185
checkflag FLAG_SYS_STRENGTH_ACTIVE
goto_if TRUE, EventScript_1BE18E
checkpartymove MOVE_STRENGTH
compare VAR_RESULT, PARTY_SIZE
goto_if eq, EventScript_1BE185
setfieldeffectarg 0, VAR_RESULT
msgbox gUnknown_81BE19A, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1BE197
closemessage
dofieldeffect FLDEFF_USE_STRENGTH
waitstate
goto EventScript_1BE179
end
EventScript_FldEffStrength:: @ 81BE16E
lockall
dofieldeffect FLDEFF_USE_STRENGTH
waitstate
goto EventScript_1BE179
end
EventScript_1BE179:: @ 81BE179
setflag FLAG_SYS_STRENGTH_ACTIVE
msgbox gUnknown_81BE1FA, 3
end
EventScript_1BE185:: @ 81BE185
msgbox gUnknown_81BE244, 3
end
EventScript_1BE18E:: @ 81BE18E
msgbox gUnknown_81BE284, 3
end
EventScript_1BE197:: @ 81BE197
closemessage
releaseall
end
gUnknown_81BE19A:: @ 81BE19A
.string "It's a big boulder, but a POKéMON\n"
.string "may be able to push it aside.\p"
.string "Would you like to use STRENGTH?$"
gUnknown_81BE1FA:: @ 81BE1FA
.string "{STR_VAR_1} used STRENGTH!\p"
.string "{STR_VAR_1}'s STRENGTH made it\n"
.string "possible to move boulders around!$"
gUnknown_81BE244:: @ 81BE244
.string "It's a big boulder, but a POKéMON\n"
.string "may be able to push it aside.$"
gUnknown_81BE284:: @ 81BE284
.string "STRENGTH made it possible to move\n"
.string "boulders around.$"
gUnknown_81BE2B7:: @ 81BE2B7
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_1A7AE0
lockall
checkpartymove MOVE_WATERFALL
compare VAR_RESULT, PARTY_SIZE
goto_if eq, EventScript_1BE300
getpartymonname 0, VAR_RESULT
setfieldeffectarg 0, VAR_RESULT
msgbox gUnknown_81BE33F, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1BE308
msgbox gUnknown_81BE378
dofieldeffect FLDEFF_USE_WATERFALL
goto EventScript_1BE308
EventScript_81BE2FF:: @ 81BE2FF
lockall
EventScript_1BE300:
msgbox gUnknown_81BE30A
EventScript_1BE308:
releaseall
end
gUnknown_81BE30A:: @ 81BE30A
.string "A wall of water is crashing down\n"
.string "with a mighty roar.$"
gUnknown_81BE33F:: @ 81BE33F
.string "It's a large waterfall.\n"
.string "Would you like to use WATERFALL?$"
gUnknown_81BE378:: @ 81BE378
.string "{STR_VAR_1} used WATERFALL.$"
@ Unused leftover from R/S
EventScript_1BE38B:: @ 81BE38B
lockall
checkpartymove MOVE_DIVE
compare VAR_RESULT, PARTY_SIZE
goto_if eq, EventScript_1BE3CA
getpartymonname 0, VAR_RESULT
setfieldeffectarg 0, VAR_RESULT
setfieldeffectarg 1, 1
msgbox gUnknown_81BE469, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1BE3D2
msgbox gUnknown_81BE49B
dofieldeffect FLDEFF_USE_DIVE
goto EventScript_1BE3D2
EventScript_1BE3C9:: @ 81BE3C9
lockall
EventScript_1BE3CA:
msgbox Text_1BE42B
EventScript_1BE3D2:
releaseall
end
EventScript_1BE3D4:: @ 81BE3D4
lockall
checkpartymove MOVE_DIVE
compare VAR_RESULT, PARTY_SIZE
goto_if eq, EventScript_1BE412
getpartymonname 0, VAR_RESULT
setfieldeffectarg 0, VAR_RESULT
setfieldeffectarg 1, 1
msgbox gUnknown_81BE4EF, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1BE429
msgbox gUnknown_81BE49B
dofieldeffect FLDEFF_USE_DIVE
goto EventScript_1BE429
EventScript_1BE412:: @ 81BE412
lockall
msgbox gUnknown_81BE4A9
goto EventScript_1BE429
EventScript_1BE420:: @ 81BE420
lockall
msgbox gUnknown_81BE52F
EventScript_1BE429:
releaseall
end
Text_1BE42B:: @ 81BE42B
.string "The sea is deep here. A POKéMON\n"
.string "may be able to go underwater.$"
gUnknown_81BE469:: @ 81BE469
.string "The sea is deep here.\n"
.string "Would you like to use DIVE?$"
gUnknown_81BE49B:: @ 81BE49B
.string "{STR_VAR_1} used DIVE.$"
gUnknown_81BE4A9:: @ 81BE4A9
.string "Light is filtering down from above.\n"
.string "A POKéMON may be able to surface.$"
gUnknown_81BE4EF:: @ 81BE4EF
.string "Light is filtering down from above.\n"
.string "Would you like to use DIVE?$"
gUnknown_81BE52F:: @ 81BE52F
.string "There is an obstacle above.\n"
.string "DIVE can't be used here.$"
EventScript_FailSweetScent:: @ 81BE564
msgbox Text_1BE56D, 3
end
Text_1BE56D:: @ 81BE56D
.string "Looks like there's nothing here…$"
+4
View File
@@ -0,0 +1,4 @@
EventScript_81BFB5F:: @ 81BFB5F
animateflash 0
setflashradius 0
end
+31
View File
@@ -0,0 +1,31 @@
EventScript_1C1338:: @ 81C1338
map_script_2 VAR_0x4030, 0, EventScript_1C1348
.2byte 0
copyvar VAR_0x4030, 1
end
EventScript_1C1348:: @ 81C1348
lockall
delay 20
applymovement 255, Movement_1C137A
waitmovement 0
playse SE_RU_HYUU
delay 60
warphole 0xFFFF
waitstate
end
EventScript_1C1361:: @ 81C1361
lockall
delay 20
applymovement 255, Movement_1C137A
waitmovement 0
playse SE_RU_HYUU
delay 60
special DoFallWarp
waitstate
end
Movement_1C137A:: @ 81C137A
set_invisible
step_end
+671
View File
@@ -0,0 +1,671 @@
Route2_EventScript_1BE58E:: @ 81BE58E
giveitem ITEM_ETHER, 1, 1
end
Route2_EventScript_1BE59B:: @ 81BE59B
giveitem ITEM_PARALYZE_HEAL, 1, 1
end
ViridianForest_EventScript_1BE5A8:: @ 81BE5A8
giveitem ITEM_POKE_BALL, 1, 1
end
ViridianForest_EventScript_1BE5B5:: @ 81BE5B5
giveitem ITEM_ANTIDOTE, 1, 1
end
ViridianForest_EventScript_1BE5C2:: @ 81BE5C2
giveitem ITEM_POTION, 1, 1
end
MtMoon_1F_EventScript_1BE5CF:: @ 81BE5CF
giveitem ITEM_PARALYZE_HEAL, 1, 1
end
MtMoon_1F_EventScript_1BE5DC:: @ 81BE5DC
giveitem ITEM_TM09, 1, 1
end
MtMoon_1F_EventScript_1BE5E9:: @ 81BE5E9
giveitem ITEM_POTION, 1, 1
end
MtMoon_1F_EventScript_1BE5F6:: @ 81BE5F6
giveitem ITEM_RARE_CANDY, 1, 1
end
MtMoon_1F_EventScript_1BE603:: @ 81BE603
giveitem ITEM_ESCAPE_ROPE, 1, 1
end
MtMoon_1F_EventScript_1BE610:: @ 81BE610
giveitem ITEM_MOON_STONE, 1, 1
end
MtMoon_B2F_EventScript_1BE61D:: @ 81BE61D
giveitem ITEM_STAR_PIECE, 1, 1
end
MtMoon_B2F_EventScript_1BE62A:: @ 81BE62A
giveitem ITEM_TM46, 1, 1
end
Route4_EventScript_1BE637:: @ 81BE637
giveitem ITEM_TM05, 1, 1
end
Route24_EventScript_1BE644:: @ 81BE644
giveitem ITEM_TM45, 1, 1
end
Route25_EventScript_1BE651:: @ 81BE651
giveitem ITEM_TM43, 1, 1
end
SSAnne_1F_Room2_EventScript_1BE65E:: @ 81BE65E
giveitem ITEM_TM31, 1, 1
end
SSAnne_2F_Room2_EventScript_1BE66B:: @ 81BE66B
giveitem ITEM_STARDUST, 1, 1
end
SSAnne_2F_Room4_EventScript_1BE678:: @ 81BE678
giveitem ITEM_X_ATTACK, 1, 1
end
SSAnne_B1F_Room2_EventScript_1BE685:: @ 81BE685
giveitem ITEM_TM44, 1, 1
end
SSAnne_B1F_Room3_EventScript_1BE692:: @ 81BE692
giveitem ITEM_ETHER, 1, 1
end
SSAnne_B1F_Room5_EventScript_1BE69F:: @ 81BE69F
giveitem ITEM_SUPER_POTION, 1, 1
end
SSAnne_Kitchen_EventScript_1BE6AC:: @ 81BE6AC
giveitem ITEM_GREAT_BALL, 1, 1
end
Route9_EventScript_1BE6B9:: @ 81BE6B9
giveitem ITEM_TM40, 1, 1
end
RocketHideout_B1F_EventScript_1BE6C6:: @ 81BE6C6
giveitem ITEM_ESCAPE_ROPE, 1, 1
end
RocketHideout_B1F_EventScript_1BE6D3:: @ 81BE6D3
giveitem ITEM_HYPER_POTION, 1, 1
end
RocketHideout_B2F_EventScript_1BE6E0:: @ 81BE6E0
giveitem ITEM_X_SPEED, 1, 1
end
RocketHideout_B2F_EventScript_1BE6ED:: @ 81BE6ED
giveitem ITEM_MOON_STONE, 1, 1
end
RocketHideout_B2F_EventScript_1BE6FA:: @ 81BE6FA
giveitem ITEM_TM12, 1, 1
end
RocketHideout_B2F_EventScript_1BE707:: @ 81BE707
giveitem ITEM_SUPER_POTION, 1, 1
end
RocketHideout_B3F_EventScript_1BE714:: @ 81BE714
giveitem ITEM_RARE_CANDY, 1, 1
end
RocketHideout_B3F_EventScript_1BE721:: @ 81BE721
giveitem ITEM_TM21, 1, 1
end
RocketHideout_B4F_EventScript_1BE72E:: @ 81BE72E
giveitem ITEM_TM49, 1, 1
end
RocketHideout_B4F_EventScript_1BE73B:: @ 81BE73B
giveitem ITEM_MAX_ETHER, 1, 1
end
RocketHideout_B4F_EventScript_1BE748:: @ 81BE748
giveitem ITEM_CALCIUM, 1, 1
end
PokemonTower_3F_EventScript_1BE755:: @ 81BE755
giveitem ITEM_ESCAPE_ROPE, 1, 1
end
PokemonTower_4F_EventScript_1BE762:: @ 81BE762
giveitem ITEM_ELIXIR, 1, 1
end
PokemonTower_4F_EventScript_1BE76F:: @ 81BE76F
giveitem ITEM_AWAKENING, 1, 1
end
PokemonTower_4F_EventScript_1BE77C:: @ 81BE77C
giveitem ITEM_GREAT_BALL, 1, 1
end
PokemonTower_5F_EventScript_1BE789:: @ 81BE789
giveitem ITEM_NUGGET, 1, 1
end
PokemonTower_6F_EventScript_1BE796:: @ 81BE796
giveitem ITEM_RARE_CANDY, 1, 1
end
PokemonTower_6F_EventScript_1BE7A3:: @ 81BE7A3
giveitem ITEM_X_ACCURACY, 1, 1
end
Route12_EventScript_1BE7B0:: @ 81BE7B0
giveitem ITEM_TM48, 1, 1
end
Route12_EventScript_1BE7BD:: @ 81BE7BD
giveitem ITEM_IRON, 1, 1
end
Route15_EventScript_1BE7CA:: @ 81BE7CA
giveitem ITEM_TM18, 1, 1
end
SafariZone_Center_EventScript_1BE7D7:: @ 81BE7D7
giveitem ITEM_NUGGET, 1, 1
end
SafariZone_East_EventScript_1BE7E4:: @ 81BE7E4
giveitem ITEM_MAX_POTION, 1, 1
end
SafariZone_East_EventScript_1BE7F1:: @ 81BE7F1
giveitem ITEM_FULL_RESTORE, 1, 1
end
SafariZone_East_EventScript_1BE7FE:: @ 81BE7FE
giveitem ITEM_TM11, 1, 1
end
SafariZone_East_EventScript_1BE80B:: @ 81BE80B
giveitem ITEM_LEAF_STONE, 1, 1
end
SafariZone_North_EventScript_1BE818:: @ 81BE818
giveitem ITEM_PROTEIN, 1, 1
end
SafariZone_North_EventScript_1BE825:: @ 81BE825
giveitem ITEM_TM47, 1, 1
end
SafariZone_West_EventScript_1BE832:: @ 81BE832
giveitem ITEM_TM32, 1, 1
end
SafariZone_West_EventScript_1BE83F:: @ 81BE83F
giveitem ITEM_GOLD_TEETH, 1, 1
end
SafariZone_West_EventScript_1BE84C:: @ 81BE84C
giveitem ITEM_MAX_POTION, 1, 1
end
SafariZone_West_EventScript_1BE859:: @ 81BE859
giveitem ITEM_MAX_REVIVE, 1, 1
end
SilphCo_3F_EventScript_1BE866:: @ 81BE866
giveitem ITEM_HYPER_POTION, 1, 1
end
SilphCo_4F_EventScript_1BE873:: @ 81BE873
giveitem ITEM_MAX_REVIVE, 1, 1
end
SilphCo_4F_EventScript_1BE880:: @ 81BE880
giveitem ITEM_ESCAPE_ROPE, 1, 1
end
SilphCo_4F_EventScript_1BE88D:: @ 81BE88D
giveitem ITEM_FULL_HEAL, 1, 1
end
SilphCo_5F_EventScript_1BE89A:: @ 81BE89A
giveitem ITEM_PROTEIN, 1, 1
end
SilphCo_5F_EventScript_1BE8A7:: @ 81BE8A7
giveitem ITEM_TM01, 1, 1
end
SilphCo_5F_EventScript_1BE8B4:: @ 81BE8B4
giveitem ITEM_CARD_KEY, 1, 1
end
SilphCo_6F_EventScript_1BE8C1:: @ 81BE8C1
giveitem ITEM_HP_UP, 1, 1
end
SilphCo_6F_EventScript_1BE8CE:: @ 81BE8CE
giveitem ITEM_X_SPECIAL, 1, 1
end
SilphCo_7F_EventScript_1BE8DB:: @ 81BE8DB
giveitem ITEM_CALCIUM, 1, 1
end
SilphCo_7F_EventScript_1BE8E8:: @ 81BE8E8
giveitem ITEM_TM08, 1, 1
end
SilphCo_10F_EventScript_1BE8F5:: @ 81BE8F5
giveitem ITEM_CARBOS, 1, 1
end
SilphCo_10F_EventScript_1BE902:: @ 81BE902
giveitem ITEM_ULTRA_BALL, 1, 1
end
SilphCo_10F_EventScript_1BE90F:: @ 81BE90F
giveitem ITEM_RARE_CANDY, 1, 1
end
PowerPlant_EventScript_1BE91C:: @ 81BE91C
giveitem ITEM_MAX_POTION, 1, 1
end
PowerPlant_EventScript_1BE929:: @ 81BE929
giveitem ITEM_TM17, 1, 1
end
PowerPlant_EventScript_1BE936:: @ 81BE936
giveitem ITEM_TM25, 1, 1
end
PowerPlant_EventScript_1BE943:: @ 81BE943
giveitem ITEM_THUNDER_STONE, 1, 1
end
PowerPlant_EventScript_1BE950:: @ 81BE950
giveitem ITEM_ELIXIR, 1, 1
end
PokemonMansion_1F_EventScript_1BE95D:: @ 81BE95D
giveitem ITEM_CARBOS, 1, 1
end
PokemonMansion_1F_EventScript_1BE96A:: @ 81BE96A
giveitem ITEM_ESCAPE_ROPE, 1, 1
end
PokemonMansion_2F_EventScript_1BE977:: @ 81BE977
giveitem ITEM_CALCIUM, 1, 1
end
PokemonMansion_3F_EventScript_1BE984:: @ 81BE984
giveitem ITEM_MAX_POTION, 1, 1
end
PokemonMansion_3F_EventScript_1BE991:: @ 81BE991
giveitem ITEM_IRON, 1, 1
end
PokemonMansion_B1F_EventScript_1BE99E:: @ 81BE99E
giveitem ITEM_TM14, 1, 1
end
PokemonMansion_B1F_EventScript_1BE9AB:: @ 81BE9AB
giveitem ITEM_FULL_RESTORE, 1, 1
end
PokemonMansion_B1F_EventScript_1BE9B8:: @ 81BE9B8
giveitem ITEM_TM22, 1, 1
end
PokemonMansion_B1F_EventScript_1BE9C5:: @ 81BE9C5
giveitem ITEM_SECRET_KEY, 1, 1
end
VictoryRoad_1F_EventScript_1BE9D2:: @ 81BE9D2
giveitem ITEM_RARE_CANDY, 1, 1
end
VictoryRoad_1F_EventScript_1BE9DF:: @ 81BE9DF
giveitem ITEM_TM02, 1, 1
end
VictoryRoad_2F_EventScript_1BE9EC:: @ 81BE9EC
giveitem ITEM_GUARD_SPEC, 1, 1
end
VictoryRoad_2F_EventScript_1BE9F9:: @ 81BE9F9
giveitem ITEM_TM07, 1, 1
end
VictoryRoad_2F_EventScript_1BEA06:: @ 81BEA06
giveitem ITEM_FULL_HEAL, 1, 1
end
VictoryRoad_2F_EventScript_1BEA13:: @ 81BEA13
giveitem ITEM_TM37, 1, 1
end
VictoryRoad_3F_EventScript_1BEA20:: @ 81BEA20
giveitem ITEM_MAX_REVIVE, 1, 1
end
VictoryRoad_3F_EventScript_1BEA2D:: @ 81BEA2D
giveitem ITEM_TM50, 1, 1
end
CeruleanCave_1F_EventScript_1BEA3A:: @ 81BEA3A
giveitem ITEM_MAX_ELIXIR, 1, 1
end
CeruleanCave_1F_EventScript_1BEA47:: @ 81BEA47
giveitem ITEM_NUGGET, 1, 1
end
CeruleanCave_1F_EventScript_1BEA54:: @ 81BEA54
giveitem ITEM_FULL_RESTORE, 1, 1
end
CeruleanCave_2F_EventScript_1BEA61:: @ 81BEA61
giveitem ITEM_FULL_RESTORE, 1, 1
end
CeruleanCave_2F_EventScript_1BEA6E:: @ 81BEA6E
giveitem ITEM_PP_UP, 1, 1
end
CeruleanCave_2F_EventScript_1BEA7B:: @ 81BEA7B
giveitem ITEM_ULTRA_BALL, 1, 1
end
CeruleanCave_B1F_EventScript_1BEA88:: @ 81BEA88
giveitem ITEM_MAX_REVIVE, 1, 1
end
CeruleanCave_B1F_EventScript_1BEA95:: @ 81BEA95
giveitem ITEM_ULTRA_BALL, 1, 1
end
FuchsiaCity_Building1_EventScript_1BEAA2:: @ 81BEAA2
giveitem ITEM_RARE_CANDY, 1, 1
end
TwoIsland_EventScript_1BEAAF:: @ 81BEAAF
giveitem ITEM_REVIVE, 1, 1
end
ThreeIsland_EventScript_1BEABC:: @ 81BEABC
giveitem ITEM_ZINC, 1, 1
end
ViridianForest_EventScript_1BEAC9:: @ 81BEAC9
giveitem ITEM_POTION, 1, 1
end
MtMoon_B2F_EventScript_1BEAD6:: @ 81BEAD6
giveitem ITEM_REVIVE, 1, 1
end
MtMoon_B2F_EventScript_1BEAE3:: @ 81BEAE3
giveitem ITEM_ANTIDOTE, 1, 1
end
Route11_EventScript_1BEAF0:: @ 81BEAF0
giveitem ITEM_X_DEFEND, 1, 1
end
Route9_EventScript_1BEAFD:: @ 81BEAFD
giveitem ITEM_BURN_HEAL, 1, 1
end
RockTunnel_1F_EventScript_1BEB0A:: @ 81BEB0A
giveitem ITEM_REPEL, 1, 1
end
RockTunnel_1F_EventScript_1BEB17:: @ 81BEB17
giveitem ITEM_PEARL, 1, 1
end
RockTunnel_1F_EventScript_1BEB24:: @ 81BEB24
giveitem ITEM_ESCAPE_ROPE, 1, 1
end
RockTunnel_B1F_EventScript_1BEB31:: @ 81BEB31
giveitem ITEM_REVIVE, 1, 1
end
RockTunnel_B1F_EventScript_1BEB3E:: @ 81BEB3E
giveitem ITEM_MAX_ETHER, 1, 1
end
SilphCo_8F_EventScript_1BEB4B:: @ 81BEB4B
giveitem ITEM_IRON, 1, 1
end
SilphCo_11F_EventScript_1BEB58:: @ 81BEB58
giveitem ITEM_ZINC, 1, 1
end
PokemonMansion_1F_EventScript_1BEB65:: @ 81BEB65
giveitem ITEM_PROTEIN, 1, 1
end
PokemonMansion_2F_EventScript_1BEB72:: @ 81BEB72
giveitem ITEM_ZINC, 1, 1
end
PokemonMansion_2F_EventScript_1BEB7F:: @ 81BEB7F
giveitem ITEM_HP_UP, 1, 1
end
ViridianCity_EventScript_1BEB8C:: @ 81BEB8C
giveitem ITEM_POTION, 1, 1
end
Route11_EventScript_1BEB99:: @ 81BEB99
giveitem ITEM_GREAT_BALL, 1, 1
end
Route11_EventScript_1BEBA6:: @ 81BEBA6
giveitem ITEM_AWAKENING, 1, 1
end
PokemonTower_5F_EventScript_1BEBB3:: @ 81BEBB3
giveitem ITEM_CLEANSE_TAG, 1, 1
end
CeladonCity_EventScript_1BEBC0:: @ 81BEBC0
giveitem ITEM_ETHER, 1, 1
end
RocketHideout_B3F_EventScript_1BEBCD:: @ 81BEBCD
giveitem ITEM_BLACK_GLASSES, 1, 1
end
SafariZone_North_EventScript_1BEBDA:: @ 81BEBDA
giveitem ITEM_QUICK_CLAW, 1, 1
end
SeafoamIslands_1F_EventScript_1BEBE7:: @ 81BEBE7
giveitem ITEM_ICE_HEAL, 1, 1
end
SeafoamIslands_B1F_EventScript_1BEBF4:: @ 81BEBF4
giveitem ITEM_WATER_STONE, 1, 1
end
SeafoamIslands_B1F_EventScript_1BEC01:: @ 81BEC01
giveitem ITEM_REVIVE, 1, 1
end
SeafoamIslands_B2F_EventScript_1BEC0E:: @ 81BEC0E
giveitem ITEM_BIG_PEARL, 1, 1
end
SeafoamIslands_B4F_EventScript_1BEC1B:: @ 81BEC1B
giveitem ITEM_ULTRA_BALL, 1, 1
end
FourIsland_EventScript_1BEC28:: @ 81BEC28
giveitem ITEM_STAR_PIECE, 1, 1
end
FourIsland_EventScript_1BEC35:: @ 81BEC35
giveitem ITEM_STARDUST, 1, 1
end
OneIsland_KindleRoad_EventScript_1BEC42:: @ 81BEC42
giveitem ITEM_ETHER, 1, 1
end
OneIsland_KindleRoad_EventScript_1BEC4F:: @ 81BEC4F
giveitem ITEM_MAX_REPEL, 1, 1
end
OneIsland_KindleRoad_EventScript_1BEC5C:: @ 81BEC5C
giveitem ITEM_CARBOS, 1, 1
end
FiveIsland_Meadow_EventScript_1BEC69:: @ 81BEC69
giveitem ITEM_MAX_POTION, 1, 1
end
FiveIsland_Meadow_EventScript_1BEC76:: @ 81BEC76
giveitem ITEM_PP_UP, 1, 1
end
FiveIsland_MemorialPillar_EventScript_1BEC83:: @ 81BEC83
giveitem ITEM_METAL_COAT, 1, 1
end
SixIsland_OutcastIsland_EventScript_1BEC90:: @ 81BEC90
giveitem ITEM_PP_UP, 1, 1
end
SixIsland_WaterPath_EventScript_1BEC9D:: @ 81BEC9D
giveitem ITEM_ELIXIR, 1, 1
end
SixIsland_WaterPath_EventScript_1BECAA:: @ 81BECAA
giveitem ITEM_DRAGON_SCALE, 1, 1
end
SixIsland_RuinValley_EventScript_1BECB7:: @ 81BECB7
giveitem ITEM_FULL_RESTORE, 1, 1
end
SixIsland_RuinValley_EventScript_1BECC4:: @ 81BECC4
giveitem ITEM_HP_UP, 1, 1
end
SixIsland_RuinValley_EventScript_1BECD1:: @ 81BECD1
giveitem ITEM_SUN_STONE, 1, 1
end
SevenIsland_SevaultCanyon_EventScript_1BECDE:: @ 81BECDE
giveitem ITEM_KINGS_ROCK, 1, 1
end
SevenIsland_SevaultCanyon_EventScript_1BECEB:: @ 81BECEB
giveitem ITEM_MAX_ELIXIR, 1, 1
end
SevenIsland_SevaultCanyon_EventScript_1BECF8:: @ 81BECF8
giveitem ITEM_NUGGET, 1, 1
end
ThreeIsland_BerryForest_EventScript_1BED05:: @ 81BED05
giveitem ITEM_MAX_ETHER, 1, 1
end
ThreeIsland_BerryForest_EventScript_1BED12:: @ 81BED12
giveitem ITEM_FULL_HEAL, 1, 1
end
ThreeIsland_BerryForest_EventScript_1BED1F:: @ 81BED1F
giveitem ITEM_MAX_ELIXIR, 1, 1
end
MtEmber_Exterior_EventScript_1BED2C:: @ 81BED2C
giveitem ITEM_ULTRA_BALL, 1, 1
end
MtEmber_Exterior_EventScript_1BED39:: @ 81BED39
giveitem ITEM_FIRE_STONE, 1, 1
end
MtEmber_Exterior_EventScript_1BED46:: @ 81BED46
giveitem ITEM_DIRE_HIT, 1, 1
end
FourIsland_IcefallCave_1F_EventScript_1BED53:: @ 81BED53
giveitem ITEM_ULTRA_BALL, 1, 1
end
FourIsland_IcefallCave_1F_EventScript_1BED60:: @ 81BED60
giveitem ITEM_HM07, 1, 1
end
FourIsland_IcefallCave_B1F_EventScript_1BED6D:: @ 81BED6D
giveitem ITEM_FULL_RESTORE, 1, 1
end
FourIsland_IcefallCave_B1F_EventScript_1BED7A:: @ 81BED7A
giveitem ITEM_NEVER_MELT_ICE, 1, 1
end
FiveIsland_RocketWarehouse_EventScript_1BED87:: @ 81BED87
giveitem ITEM_BIG_PEARL, 1, 1
end
FiveIsland_RocketWarehouse_EventScript_1BED94:: @ 81BED94
giveitem ITEM_TM36, 1, 1
end
FiveIsland_RocketWarehouse_EventScript_1BEDA1:: @ 81BEDA1
giveitem ITEM_PEARL, 1, 1
end
FiveIsland_RocketWarehouse_EventScript_1BEDAE:: @ 81BEDAE
giveitem ITEM_UP_GRADE, 1, 1
end
FiveIsland_LostCave_Room10_EventScript_1BEDBB:: @ 81BEDBB
giveitem ITEM_SILK_SCARF, 1, 1
end
FiveIsland_LostCave_Room11_EventScript_1BEDC8:: @ 81BEDC8
giveitem ITEM_LAX_INCENSE, 1, 1
end
FiveIsland_LostCave_Room12_EventScript_1BEDD5:: @ 81BEDD5
giveitem ITEM_SEA_INCENSE, 1, 1
end
FiveIsland_LostCave_Room13_EventScript_1BEDE2:: @ 81BEDE2
giveitem ITEM_MAX_REVIVE, 1, 1
end
FiveIsland_LostCave_Room14_EventScript_1BEDEF:: @ 81BEDEF
giveitem ITEM_RARE_CANDY, 1, 1
end
SevenIsland_SevaultCanyon_House_EventScript_1BEDFC:: @ 81BEDFC
giveitem ITEM_LUCKY_PUNCH, 1, 1
end
SilphCo_4F_EventScript_1BEE09:: @ 81BEE09
giveitem ITEM_TM41, 1, 1
end
+598
View File
@@ -0,0 +1,598 @@
VictoryRoad_2F_EventScript_1C47AE:: @ 81C47AE
lock
faceplayer
checkflag FLAG_TUTOR_DOUBLE_EDGE
goto_if TRUE, EventScript_1C480C
msgbox Text_1749F9, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4802
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4802
msgbox Text_174AE2
setvar VAR_0x8005, MOVETUTOR_DOUBLE_EDGE
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4802
setflag FLAG_TUTOR_DOUBLE_EDGE
goto EventScript_1C480C
end
EventScript_1C4802:: @ 81C4802
msgbox Text_174ABC
release
end
EventScript_1C480C:: @ 81C480C
msgbox Text_174B0C
release
end
EventScript_1C4816:: @ 81C4816
lock
faceplayer
checkflag FLAG_TUTOR_THUNDER_WAVE
goto_if TRUE, EventScript_1C4874
msgbox Text_175711, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C486A
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C486A
msgbox Text_1757C1
setvar VAR_0x8005, MOVETUTOR_THUNDER_WAVE
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if eq, EventScript_1C486A
setflag FLAG_TUTOR_THUNDER_WAVE
goto EventScript_1C4874
end
EventScript_1C486A:: @ 81C486A
msgbox Text_17579D
release
end
EventScript_1C4874:: @ 81C4874
msgbox Text_1757EC
release
end
RockTunnel_B1F_EventScript_1C487E:: @ 81C487E
lock
faceplayer
checkflag FLAG_TUTOR_ROCK_SLIDE
goto_if TRUE, EventScript_1C48DC
msgbox Text_1799E0, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C48D2
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C48D2
msgbox Text_179AE1
setvar VAR_0x8005, MOVETUTOR_ROCK_SLIDE
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if eq, EventScript_1C48D2
setflag FLAG_TUTOR_ROCK_SLIDE
goto EventScript_1C48DC
end
EventScript_1C48D2:: @ 81C48D2
msgbox Text_179AC0
release
end
EventScript_1C48DC:: @ 81C48DC
msgbox Text_179B0A
release
end
MtEmber_Exterior_EventScript_1C48E6:: @ 81C48E6
lock
faceplayer
checkflag FLAG_TUTOR_EXPLOSION
goto_if TRUE, EventScript_1C4944
msgbox Text_17A642, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C493A
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C493A
msgbox Text_17A717
setvar VAR_0x8005, MOVETUTOR_EXPLOSION
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if eq, EventScript_1C493A
setflag FLAG_TUTOR_EXPLOSION
goto EventScript_1C4944
end
EventScript_1C493A:: @ 81C493A
msgbox Text_17A6ED
release
end
EventScript_1C4944:: @ 81C4944
msgbox Text_17A756
release
end
Route4_EventScript_1C494E:: @ 81C494E
lock
faceplayer
checkflag FLAG_TUTOR_META_PUNCH
goto_if TRUE, EventScript_1C49AC
msgbox Text_1839D5, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C49A2
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C49A2
msgbox Text_183ABF
setvar VAR_0x8005, MOVETUTOR_MEGA_PUNCH
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if eq, EventScript_1C49A2
setflag FLAG_TUTOR_META_PUNCH
goto EventScript_1C49AC
end
EventScript_1C49A2:: @ 81C49A2
msgbox Text_183A83
release
end
EventScript_1C49AC:: @ 81C49AC
msgbox Text_183AE2
release
end
Route4_EventScript_1C49B6:: @ 81C49B6
lock
faceplayer
checkflag FLAG_TUTOR_MEGA_KICK
goto_if TRUE, EventScript_1C4A14
msgbox Text_183B74, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4A0A
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4A0A
msgbox Text_183C68
setvar VAR_0x8005, MOVETUTOR_MEGA_KICK
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4A0A
setflag FLAG_TUTOR_MEGA_KICK
goto EventScript_1C4A14
end
EventScript_1C4A0A:: @ 81C4A0A
msgbox Text_183C25
release
end
EventScript_1C4A14:: @ 81C4A14
msgbox Text_183C94
release
end
EventScript_1C4A1E:: @ 81C4A1E
lock
faceplayer
checkflag FLAG_TUTOR_DREAM_EATER
goto_if TRUE, EventScript_1C4A7C
msgbox Text_17E316, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4A72
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4A72
msgbox Text_17E3F1
setvar VAR_0x8005, MOVETUTOR_DREAM_EATER
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4A72
setflag FLAG_TUTOR_DREAM_EATER
goto EventScript_1C4A7C
end
EventScript_1C4A72:: @ 81C4A72
msgbox Text_17E3E9
release
end
EventScript_1C4A7C:: @ 81C4A7C
msgbox Text_17E41B
release
end
EventScript_1C4A86:: @ 81C4A86
lock
faceplayer
checkflag FLAG_TUTOR_SOFT_BOILED
goto_if TRUE, EventScript_1C4AE4
msgbox Text_180388, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4ADA
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4ADA
msgbox Text_180484
setvar VAR_0x8005, MOVETUTOR_SOFT_BOILED
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4ADA
setflag FLAG_TUTOR_SOFT_BOILED
goto EventScript_1C4AE4
end
EventScript_1C4ADA:: @ 81C4ADA
msgbox Text_18043F
release
end
EventScript_1C4AE4:: @ 81C4AE4
msgbox Text_1804C4
release
end
FuchsiaCity_EventScript_1C4AEE:: @ 81C4AEE
lock
faceplayer
checkflag FLAG_TUTOR_SUBSTITUTE
goto_if TRUE, EventScript_1C4B4C
msgbox Text_180948, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4B42
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4B42
msgbox Text_180A57
setvar VAR_0x8005, MOVETUTOR_SUBSTITUTE
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4B42
setflag FLAG_TUTOR_SUBSTITUTE
goto EventScript_1C4B4C
end
EventScript_1C4B42:: @ 81C4B42
msgbox Text_180A32
release
end
EventScript_1C4B4C:: @ 81C4B4C
msgbox Text_180A80
release
end
SevenIsland_EventScript_1C4B56:: @ 81C4B56
lock
faceplayer
checkflag FLAG_TUTOR_SWORDS_DANCE
goto_if TRUE, EventScript_1C4BB4
msgbox Text_182F01, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4BAA
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4BAA
msgbox Text_182FD9
setvar VAR_0x8005, MOVETUTOR_SWORDS_DANCE
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4BAA
setflag FLAG_TUTOR_SWORDS_DANCE
goto EventScript_1C4BB4
end
EventScript_1C4BAA:: @ 81C4BAA
msgbox Text_182FC1
release
end
EventScript_1C4BB4:: @ 81C4BB4
msgbox Text_18300D
release
end
PewterCity_Museum_1F_EventScript_1C4BBE:: @ 81C4BBE
lock
faceplayer
checkflag FLAG_TUTOR_SEISMIC_TOSS
goto_if TRUE, EventScript_1C4C1C
msgbox Text_1909A3, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4C12
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4C12
msgbox Text_190AD5
setvar VAR_0x8005, MOVETUTOR_SEISMIC_TOSS
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4C12
setflag FLAG_TUTOR_SEISMIC_TOSS
goto EventScript_1C4C1C
end
EventScript_1C4C12:: @ 81C4C12
msgbox Text_190AA9
release
end
EventScript_1C4C1C:: @ 81C4C1C
msgbox Text_190B00
release
end
EventScript_1C4C26:: @ 81C4C26
lock
faceplayer
checkflag FLAG_TUTOR_COUNTER
goto_if TRUE, EventScript_1C4C84
msgbox Text_195928, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4C7A
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4C7A
msgbox Text_195A08
setvar VAR_0x8005, MOVETUTOR_COUNTER
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4C7A
setflag FLAG_TUTOR_COUNTER
goto EventScript_1C4C84
end
EventScript_1C4C7A:: @ 81C4C7A
msgbox Text_1959CC
release
end
EventScript_1C4C84:: @ 81C4C84
msgbox Text_195A31
release
end
EventScript_1C4C8E:: @ 81C4C8E
lock
faceplayer
checkflag FLAG_TUTOR_METRONOME
goto_if TRUE, EventScript_1C4CEC
msgbox Text_19A137, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4CE2
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4CE2
msgbox Text_19A1EA
setvar VAR_0x8005, MOVETUTOR_METRONOME
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4CE2
setflag FLAG_TUTOR_METRONOME
goto EventScript_1C4CEC
end
EventScript_1C4CE2:: @ 81C4CE2
msgbox Text_19A1CB
release
end
EventScript_1C4CEC:: @ 81C4CEC
msgbox Text_19A20E
release
end
EventScript_1C4CF6:: @ 81C4CF6
checkflag FLAG_TUTOR_MIMIC
goto_if TRUE, EventScript_1C4D59
msgbox Text_19AD85, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4D4F
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4D4F
msgbox Text_19ADEE
setvar VAR_0x8005, MOVETUTOR_MIMIC
call EventScript_1C4F30
lock
faceplayer
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4D4F
removeitem ITEM_POKE_DOLL, 1
setflag FLAG_TUTOR_MIMIC
goto EventScript_1C4D59
end
EventScript_1C4D4F:: @ 81C4D4F
msgbox Text_19ADD8
release
end
EventScript_1C4D59:: @ 81C4D59
checkplayergender
compare VAR_RESULT, 0
call_if eq, EventScript_1C4D72
compare VAR_RESULT, 1
call_if eq, EventScript_1C4D7B
release
end
EventScript_1C4D72:: @ 81C4D72
msgbox Text_19AE1C
return
EventScript_1C4D7B:: @ 81C4D7B
msgbox Text_19AE90
return
FourIsland_House1_EventScript_1C4D84:: @ 81C4D84
lock
faceplayer
checkflag FLAG_TUTOR_BODY_SLAM
goto_if TRUE, EventScript_1C4DE2
msgbox Text_1A3505, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4DD8
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4DD8
msgbox Text_1A35DA
setvar VAR_0x8005, MOVETUTOR_BODY_SLAM
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4DD8
setflag FLAG_TUTOR_BODY_SLAM
goto EventScript_1C4DE2
end
EventScript_1C4DD8:: @ 81C4DD8
msgbox Text_1A35C7
release
end
EventScript_1C4DE2:: @ 81C4DE2
msgbox Text_1A3609
release
end
TwoIsland_CapeBrink_House_EventScript_1C4DEC:: @ 81C4DEC
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_1A7AE0
special sub_8112364
lock
faceplayer
checkflag FLAG_LEARNED_ALL_MOVES_AT_CAPE_BRINK
goto_if TRUE, EventScript_1C4EA1
checkflag FLAG_TEMP_2
goto_if TRUE, EventScript_1C4E97
getfirstpartymonname 0
msgbox Text_1A46C6
specialvar VAR_RESULT, Special_CapeBrinkGetMoveToTeachLeadPokemon
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4F26
copyvar VAR_0x8009, VAR_0x8005
compare VAR_FACING, 2
call_if eq, EventScript_1C4EF0
compare VAR_FACING, 1
call_if eq, EventScript_1C4EFB
compare VAR_FACING, 4
call_if eq, EventScript_1C4F06
compare VAR_FACING, 3
call_if eq, EventScript_1C4F11
msgbox Text_1A4751, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4F1C
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4F1C
msgbox Text_1A4814
closemessage
fadescreen 1
goto EventScript_1C4EDA
EventScript_1C4E8F:: @ 81C4E8F
fadescreen 0
goto EventScript_1C4EAB
end
EventScript_1C4E97:: @ 81C4E97
msgbox Text_1A48B3
release
end
EventScript_1C4EA1:: @ 81C4EA1
msgbox Text_1A4972
release
end
EventScript_1C4EAB:: @ 81C4EAB
copyvar VAR_0x8005, VAR_0x8009
specialvar VAR_RESULT, Special_HasLearnedAllMovesFromCapeBrinkTutor
compare VAR_RESULT, 1
goto_if eq, EventScript_1C4ECD
msgbox Text_1A4865
setflag FLAG_TEMP_2
release
end
EventScript_1C4ECD:: @ 81C4ECD
msgbox Text_1A48F3
setflag FLAG_LEARNED_ALL_MOVES_AT_CAPE_BRINK
release
end
EventScript_1C4EDA:: @ 81C4EDA
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if eq, EventScript_1C4F1C
goto EventScript_1C4EAB
end
EventScript_1C4EF0:: @ 81C4EF0
applymovement 1, Movement_1C4F4C
waitmovement 0
return
EventScript_1C4EFB:: @ 81C4EFB
applymovement 1, Movement_1C4F4E
waitmovement 0
return
EventScript_1C4F06:: @ 81C4F06
applymovement 1, Movement_1C4F50
waitmovement 0
return
EventScript_1C4F11:: @ 81C4F11
applymovement 1, Movement_1C4F52
waitmovement 0
return
EventScript_1C4F1C:: @ 81C4F1C
msgbox Text_1A47E5
release
end
EventScript_1C4F26:: @ 81C4F26
msgbox Text_1A4737
release
end
EventScript_1C4F30:: @ 81C4F30
special ChooseMonForMoveTutor
waitstate
lock
faceplayer
return
EventScript_1C4F37:: @ 81C4F37
textcolor 3
special sub_80699BC
signmsg
msgbox Text_1A644F, 5
normalmsg
call EventScript_1A6675
return
Movement_1C4F4C:: @ 81C4F4C
step_52
step_end
Movement_1C4F4E:: @ 81C4F4E
step_53
step_end
Movement_1C4F50:: @ 81C4F50
step_54
step_end
Movement_1C4F52:: @ 81C4F52
step_55
step_end
+180
View File
@@ -0,0 +1,180 @@
PewterCity_PokemonCenter_1F_EventScript_1BEE16:: @ 81BEE16
lock
faceplayer
compare VAR_0x4001, 1
goto_if eq, EventScript_1BEE3A
checkflag FLAG_SYS_SET_TRAINER_CARD_PROFILE
goto_if TRUE, EventScript_1BEECD
msgbox Text_1BEF88
goto EventScript_1BEE44
end
EventScript_1BEE3A:: @ 81BEE3A
msgbox gUnknown_81BF36A
release
end
EventScript_1BEE44:: @ 81BEE44
message Text_1BF017
waitmessage
multichoice 18, 6, MULTICHOICE_YES_NO_INFO_2, FALSE
switch VAR_RESULT
case 0, EventScript_1BEE8F
case 1, EventScript_1BEEC3
case 2, EventScript_1BEE81
case SCR_MENU_CANCEL, EventScript_1BEEC3
end
EventScript_1BEE81:: @ 81BEE81
msgbox gUnknown_81BF053
goto EventScript_1BEE44
end
EventScript_1BEE8F:: @ 81BEE8F
msgbox gUnknown_81BF166
closemessage
goto EventScript_1BEF5A
end
EventScript_1BEE9E:: @ 81BEE9E
msgbox gUnknown_81BF1B2
release
end
EventScript_1BEEA8:: @ 81BEEA8
setvar VAR_0x4001, 1
setvar VAR_0x8004, 0
special Special_BufferEasyChatMessage
waitmessage
delay 80
msgbox gUnknown_81BF28E
release
end
EventScript_1BEEC3:: @ 81BEEC3
msgbox gUnknown_81BF17B
release
end
EventScript_1BEECD:: @ 81BEECD
msgbox gUnknown_81BF1E8
goto EventScript_1BEEDB
end
EventScript_1BEEDB:: @ 81BEEDB
message Text_1BF1FB
waitmessage
multichoice 18, 6, MULTICHOICE_YES_NO_INFO_2, FALSE
switch VAR_RESULT
case 0, EventScript_1BEF26
case 1, EventScript_1BEF35
case 2, EventScript_1BEF18
case SCR_MENU_CANCEL, EventScript_1BEF35
end
EventScript_1BEF18:: @ 81BEF18
msgbox gUnknown_81BF053
goto EventScript_1BEEDB
end
EventScript_1BEF26:: @ 81BEF26
msgbox gUnknown_81BF222
closemessage
goto EventScript_1BEF5A
end
EventScript_1BEF35:: @ 81BEF35
msgbox gUnknown_81BF252
release
end
EventScript_1BEF3F:: @ 81BEF3F
setvar VAR_0x4001, 1
setvar VAR_0x8004, 0
special Special_BufferEasyChatMessage
waitmessage
delay 80
msgbox gUnknown_81BF30D
release
end
EventScript_1BEF5A:: @ 81BEF5A
setvar VAR_0x8004, 0
call EventScript_1A6AC0
lock
faceplayer
compare VAR_0x8004, 0
goto_if eq, EventScript_1BEF3F
compare VAR_RESULT, 0
goto_if eq, EventScript_1BEE9E
compare VAR_RESULT, 1
goto_if eq, EventScript_1BEEA8
end
Text_1BEF88:: @ 81BEF88
.string "Hi, glad to meet you!\p"
.string "…That's unfriendly of you.\n"
.string "How about saying hi back?\p"
.string "So, come on, tell me about\n"
.string "yourself.\p"
.string "I'd love to hear your profile!$"
Text_1BF017:: @ 81BF017
.string "Tell me something good about\n"
.string "yourself. What's your profile?$"
gUnknown_81BF053:: @ 81BF053
.string "A profile is written using four\n"
.string "words or phrases.\p"
.string "There're plenty of words to choose\n"
.string "from for your profile.\p"
.string "The words and phrases are placed\n"
.string "in several convenient groups.\p"
.string "First, choose a group, then choose\n"
.string "a word or phrase.\p"
.string "…It's easier than it sounds.\n"
.string "Why don't you try it?$"
gUnknown_81BF166:: @ 81BF166
.string "What's your profile?$"
gUnknown_81BF17B:: @ 81BF17B
.string "Aww… Don't be like that.\n"
.string "You can tell me your profile.$"
gUnknown_81BF1B2:: @ 81BF1B2
.string "Oh, you've decided not to?\n"
.string "You're fickle, aren't you?$"
gUnknown_81BF1E8:: @ 81BF1E8
.string "Hi!\n"
.string "We meet again!$"
Text_1BF1FB:: @ 81BF1FB
.string "Would you like to change your\n"
.string "profile?$"
gUnknown_81BF222:: @ 81BF222
.string "What are you like now?\n"
.string "I'd really like to know.$"
gUnknown_81BF252:: @ 81BF252
.string "Okay, you like your profile the\n"
.string "way it is.\p"
.string "I think so, too.$"
gUnknown_81BF28E:: @ 81BF28E
.string "Hmhm…\p"
.string "Your profile really says something\n"
.string "about who you are.\p"
.string "Now that I know you better, it \n"
.string "makes us better friends than ever!$"
gUnknown_81BF30D:: @ 81BF30D
.string "Oh, I've heard that before…\p"
.string "My cousin, who lives far away,\n"
.string "always used to say that, I think.$"
gUnknown_81BF36A:: @ 81BF36A
.string "Please tell me more about\n"
.string "yourself next time!$"
+72
View File
@@ -0,0 +1,72 @@
EventScript_PkmnCenterNurse:: @ 81A6578
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_1A7AE0
message Text_WelcomeWantToHealPkmn
waitmessage
multichoice 19, 8, MULTICHOICE_YES_NO, FALSE | (TRUE << 1)
switch VAR_RESULT
case 0, EventScript_PkmnCenterNurse_HealPkmn
case 1 EventScript_PkmnCenterNurse_Goodbye
case SCR_MENU_CANCEL, EventScript_PkmnCenterNurse_Goodbye
end
EventScript_PkmnCenterNurse_HealPkmn:: @ 81A65B8
incrementgamestat GAME_STAT_USED_POKECENTER
message Text_TakeYourPkmnForFewSeconds
waitmessage
call EventScript_PkmnCenterNurse_TakeAndHealPkmn
special sub_80CC524
goto EventScript_PkmnCenterNurse_CheckTrainerTowerAndUnionRoom
end
EventScript_PkmnCenterNurse_TakeAndHealPkmn:: @ 81A65CE
applymovement VAR_LAST_TALKED, Movement_1A75E7
waitmovement 0
dofieldeffect FLDEFF_POKECENTER_HEAL
waitfieldeffect FLDEFF_POKECENTER_HEAL
applymovement VAR_LAST_TALKED, Movement_1A75ED
waitmovement 0
special sp000_heal_pokemon
return
EventScript_PkmnCenterNurse_CheckTrainerTowerAndUnionRoom:: @ 81A65EC
specialvar VAR_RESULT, Special_PlayerIsNotInTrainerTowerLobby
compare VAR_RESULT, FALSE
goto_if eq, EventScript_PkmnCenterNurse_ReturnPkmn
specialvar VAR_RESULT, BufferUnionRoomPlayerName
copyvar VAR_0x8008, VAR_RESULT
compare VAR_0x8008, 0
goto_if eq, EventScript_PkmnCenterNurse_ReturnPkmn
compare VAR_0x8008, 1
goto_if eq, EventScript_PkmnCenterNurse_PlayerWaitingInUionRoom
end
EventScript_PkmnCenterNurse_ReturnPkmn:: @ 81A661D
message Text_RestoredPkmnToFullHealth
waitmessage
applymovement VAR_LAST_TALKED, Movement_1A666C
waitmovement 0
msgbox Text_WeHopeToSeeYouAgain
return
EventScript_PkmnCenterNurse_PlayerWaitingInUionRoom:: @ 81A6636
checkflag FLAG_SYS_INFORMED_OF_LOCAL_WIRELESS_PLAYER
goto_if TRUE, EventScript_PkmnCenterNurse_ReturnPkmn
msgbox Text_RestoredPkmnToFullHealth
setflag FLAG_SYS_INFORMED_OF_LOCAL_WIRELESS_PLAYER
message Text_PlayerIsPlayingRightNowGoForIt
waitmessage
applymovement VAR_LAST_TALKED, Movement_1A666C
waitmovement 0
msgbox Text_WeHopeToSeeYouAgain
return
EventScript_PkmnCenterNurse_Goodbye:: @ 81A6663
msgbox Text_WeHopeToSeeYouAgain
return
Movement_1A666C:: @ 81A666C
step_5b
step_1a
step_end
+6
View File
@@ -0,0 +1,6 @@
EventScript_RepelWoreOff:: @ 81BFB65
msgbox Text_1BFB6E, 3
end
Text_1BFB6E:: @ 81BFB6E
.string "REPEL's effect wore off…$"
+76
View File
@@ -0,0 +1,76 @@
EventScript_SetGymTrainers:: @ 81A6B18
switch VAR_0x8008
case 1, EventScript_SetPewterGymTrainers
case 2, EventScript_SetCeruleanGymTrainers
case 3, EventScript_SetVermilionGymTrainers
case 4, EventScript_SetCeladonGymTrainers
case 5, EventScript_SetFuchsiaGymTrainers
case 6, EventScript_SetSaffronGymTrainers
case 7, EventScript_SetCinnabarGymTrainers
case 8, EventScript_SetViridianGymTrainers
end
EventScript_SetPewterGymTrainers:: @ 81A6B76
settrainerflag TRAINER_CAMPER_LIAM
return
EventScript_SetCeruleanGymTrainers:: @ 81A6B7A
settrainerflag TRAINER_PICNICKER_DIANA
settrainerflag TRAINER_SWIMMER_MALE_LUIS
return
EventScript_SetVermilionGymTrainers:: @ 81A6B81
settrainerflag TRAINER_SAILOR_DWAYNE
settrainerflag TRAINER_ENGINEER_BAILY
settrainerflag TRAINER_GENTLEMAN_TUCKER
return
EventScript_SetCeladonGymTrainers:: @ 81A6B8B
settrainerflag TRAINER_LASS_KAY
settrainerflag TRAINER_LASS_LISA
settrainerflag TRAINER_PICNICKER_TINA
settrainerflag TRAINER_BEAUTY_BRIDGET
settrainerflag TRAINER_BEAUTY_TAMIA
settrainerflag TRAINER_BEAUTY_LORI
settrainerflag TRAINER_COOLTRAINER_MARY
return
EventScript_SetFuchsiaGymTrainers:: @ 81A6BA1
settrainerflag TRAINER_TAMER_PHIL
settrainerflag TRAINER_TAMER_EDGAR
settrainerflag TRAINER_JUGGLER_KIRK
settrainerflag TRAINER_JUGGLER_SHAWN
settrainerflag TRAINER_JUGGLER_KAYDEN
settrainerflag TRAINER_JUGGLER_NATE
return
EventScript_SetSaffronGymTrainers:: @ 81A6BB4
settrainerflag TRAINER_PSYCHIC_JOHAN
settrainerflag TRAINER_PSYCHIC_TYRON
settrainerflag TRAINER_PSYCHIC_CAMERON
settrainerflag TRAINER_PSYCHIC_PRESTON
settrainerflag TRAINER_CHANNELER_AMANDA
settrainerflag TRAINER_CHANNELER_STACY
settrainerflag TRAINER_CHANNELER_TASHA
return
EventScript_SetCinnabarGymTrainers:: @ 81A6BCA
settrainerflag TRAINER_SUPER_NERD_ERIK
settrainerflag TRAINER_SUPER_NERD_AVERY
settrainerflag TRAINER_SUPER_NERD_DEREK
settrainerflag TRAINER_SUPER_NERD_ZAC
settrainerflag TRAINER_BURGLAR_QUINN
settrainerflag TRAINER_BURGLAR_RAMON
settrainerflag TRAINER_BURGLAR_DUSTY
return
EventScript_SetViridianGymTrainers:: @ 81A6BE0
settrainerflag TRAINER_TAMER_JASON
settrainerflag TRAINER_TAMER_COLE
settrainerflag TRAINER_BLACK_BELT_ATSUSHI
settrainerflag TRAINER_BLACK_BELT_KIYO
settrainerflag TRAINER_BLACK_BELT_TAKASHI
settrainerflag TRAINER_COOLTRAINER_SAMUEL
settrainerflag TRAINER_COOLTRAINER_YUJI
settrainerflag TRAINER_COOLTRAINER_WARREN
return
+25
View File
@@ -0,0 +1,25 @@
EventScript_UseSurf:: @ 81A6AC8
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_UseSurfEnd
checkpartymove MOVE_SURF
compare VAR_RESULT, PARTY_SIZE
goto_if eq, EventScript_UseSurfEnd
getpartymonname 0, VAR_RESULT
setfieldeffectarg 0, VAR_RESULT
lockall
msgbox Text_1A556E, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_UseSurfRelease
msgbox Text_1A55A5
dofieldeffect FLDEFF_USE_SURF
EventScript_UseSurfRelease:@ 81A6B0B
releaseall
EventScript_UseSurfEnd: @ 81A6B0C
end
gUnknown_81A6B0D:: @ 81A6B0D
lockall
msgbox Text_CurrentTooFast
releaseall
end
+158
View File
@@ -0,0 +1,158 @@
gUnknown_81A4EB4:: @ 81A4EB4
lock
special PlayTrainerEncounterMusic
special ScrSpecial_EndTrainerApproach
waitstate
goto EventScript_1A4FC7
EventScript_TryDoNormalTrainerBattle:: @ 81A4EC1
lock
faceplayer
applymovement VAR_LAST_TALKED, Movement_1A4FC5
waitmovement 0
specialvar VAR_RESULT, ScrSpecial_HasTrainerBeenFought
compare VAR_RESULT, 0
goto_if ne, EventScript_1A4EE8
special PlayTrainerEncounterMusic
special SetUpTrainerMovement
goto EventScript_1A4FC7
EventScript_1A4EE8:: @ 81A4EE8
ontrainerbattleend
EventScript_TryDoDoubleTrainerBattle:: @ 81A4EE9
lock
faceplayer
call EventScript_1A4FBA
specialvar VAR_RESULT, ScrSpecial_HasTrainerBeenFought
compare VAR_RESULT, 0
goto_if ne, EventScript_1A4F20
special CheckForAlivePartyMons
compare VAR_RESULT, 0
goto_if ne, EventScript_1A4F19
special PlayTrainerEncounterMusic
special SetUpTrainerMovement
goto EventScript_1A4FC7
EventScript_1A4F19:: @ 81A4F19
special ScrSpecial_ShowTrainerNonBattlingSpeech
waitmessage
waitbuttonpress
release
end
EventScript_1A4F20:: @ 81A4F20
ontrainerbattleend
EventScript_DoTrainerBattle:: @ 81A4F21
applymovement VAR_LAST_TALKED, Movement_1A4FC5
waitmovement 0
special PlayTrainerEncounterMusic
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_1A501A
battlebegin
ontrainerbattleend
EventScript_TryDoRematchBattle:: @ 81A4F3E
call EventScript_1A4FBA
specialvar VAR_RESULT, ScrSpecial_GetTrainerEyeRematchFlag
compare VAR_RESULT, 0
goto_if eq, EventScript_1A4F72
special PlayTrainerEncounterMusic
special SetUpTrainerMovement
special ScrSpecial_ShowTrainerIntroSpeech
waitmessage
waitbuttonpress
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_1A4FB8
special ScrSpecial_StartTrainerEyeRematch
waitstate
releaseall
end
EventScript_1A4F72:: @ 81A4F72
ontrainerbattleend
EventScript_TryDoDoubleRematchBattle:: @ 81A4F73
specialvar VAR_RESULT, ScrSpecial_GetTrainerEyeRematchFlag
compare VAR_RESULT, 0
goto_if eq, EventScript_1A4FB0
special CheckForAlivePartyMons
compare VAR_RESULT, 0
goto_if ne, EventScript_1A4FB1
special PlayTrainerEncounterMusic
special SetUpTrainerMovement
special ScrSpecial_ShowTrainerIntroSpeech
waitmessage
waitbuttonpress
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_1A4FB8
special ScrSpecial_StartTrainerEyeRematch
waitstate
releaseall
end
EventScript_1A4FB0:: @ 81A4FB0
ontrainerbattleend
EventScript_1A4FB1:: @ 81A4FB1
special ScrSpecial_ShowTrainerNonBattlingSpeech
waitmessage
waitbuttonpress
release
end
EventScript_1A4FB8:: @ 81A4FB8
releaseall
end
EventScript_1A4FBA:: @ 81A4FBA
applymovement VAR_LAST_TALKED, Movement_1A4FC5
waitmovement 0
return
Movement_1A4FC5:: @ 81A4FC5
step_67
step_end
EventScript_1A4FC7:: @ 81A4FC7
special ScrSpecial_ShowTrainerIntroSpeech
waitmessage
waitbuttonpress
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_1A501A
battlebegin
specialvar VAR_RESULT, ScrSpecial_GetTrainerBattleMode
compare VAR_RESULT, 0
goto_if eq, EventScript_1A5017
compare VAR_RESULT, 2
goto_if eq, EventScript_1A5019
compare VAR_RESULT, 1
goto_if eq, EventScript_1A5019
compare VAR_RESULT, 6
goto_if eq, EventScript_1A5019
compare VAR_RESULT, 8
goto_if eq, EventScript_1A5019
EventScript_1A5017:: @ 81A5017
releaseall
end
EventScript_1A5019:: @ 81A5019
ontrainerbattleendgoto
EventScript_1A501A:: @ 81A501A
special SetBattledTrainerFlag
releaseall
end
gStdScript_Message_WaitButton_AndRelease:: @ 81A501F
message 0x0
waitmessage
waitbuttonpress
release
return
File diff suppressed because it is too large Load Diff