Sync split scripts, more misc splits/doc

This commit is contained in:
GriffinR
2020-01-10 05:01:48 -05:00
parent 9fafa12285
commit 91bf7665c6
96 changed files with 955 additions and 943 deletions
+7 -7
View File
@@ -22,7 +22,7 @@ CableClub_EventScript_MysteryGiftMan:: @ 81BB1D2
@ Unused
EventScript_1BB1E4:: @ 81BB1E4
msgbox Text_1A6393, MSGBOX_NPC
msgbox Text_ThankYouForAccessingMysteryGift, MSGBOX_NPC
end
CableClub_OnWarp:: @ 81BB1ED
@@ -283,7 +283,7 @@ EventScript_1BB541:: @ 81BB541
end
EventScript_1BB54C:: @ 81BB54C
call EventScript_1A4EAF
call EventScript_AskSaveGame
compare VAR_RESULT, 0
goto_if_eq EventScript_1BB82F
message gUnknown_81BC4AC
@@ -397,7 +397,7 @@ EventScript_1BB6AB:: @ 81BB6AB
call EventScript_1BB79C
compare VAR_RESULT, 0
goto_if_eq EventScript_1BB82F
call EventScript_1A4EAF
call EventScript_AskSaveGame
compare VAR_RESULT, 0
goto_if_eq EventScript_1BB82F
message gUnknown_81BC4AC
@@ -826,7 +826,7 @@ EventScript_1BBA94:: @ 81BBA94
call EventScript_1BBB1E
compare VAR_RESULT, 0
goto_if_eq EventScript_1BB82F
call EventScript_1A4EAF
call EventScript_AskSaveGame
compare VAR_RESULT, 0
goto_if_eq EventScript_1BB82F
msgbox gUnknown_81BD86A
@@ -1030,7 +1030,7 @@ EventScript_1BBD6E:: @ 81BBD6E
end
EventScript_1BBD6F:: @ 81BBD6F
call EventScript_1A4EAF
call EventScript_AskSaveGame
compare VAR_RESULT, 0
goto_if_eq EventScript_1BB82F
switch VAR_0x8004
@@ -1320,7 +1320,7 @@ EventScript_1BC13A:: @ 81BC13A
waitstate
compare VAR_0x8004, 6
goto_if_ge EventScript_1BB83F
call EventScript_1A4EAF
call EventScript_AskSaveGame
compare VAR_RESULT, 0
goto_if_eq EventScript_1BB83F
setvar VAR_0x8004, 4
@@ -1340,7 +1340,7 @@ EventScript_1BC184:: @ 81BC184
waitstate
compare VAR_0x8004, 6
goto_if_ge EventScript_1BB83F
call EventScript_1A4EAF
call EventScript_AskSaveGame
compare VAR_RESULT, 0
goto_if_eq EventScript_1BB83F
setvar VAR_0x8004, 6
+95 -95
View File
@@ -3,60 +3,60 @@ EventScript_InteractWithCutTreeObject:: @ 81BDF13
compare VAR_RESULT, 2
goto_if_eq EventScript_1A7AE0
lockall
goto_if_unset FLAG_BADGE02_GET, EventScript_1BDF87
goto_if_unset FLAG_BADGE02_GET, EventScript_CantCutTree
checkpartymove MOVE_CUT
compare VAR_RESULT, PARTY_SIZE
goto_if_eq EventScript_1BDF87
goto_if_eq EventScript_CantCutTree
setfieldeffectarg 0, VAR_RESULT
getpartymonname 0, VAR_RESULT
getmovename 1, MOVE_CUT
msgbox gUnknown_81BDF94, MSGBOX_YESNO
msgbox Text_CutTreeDown, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1BDF91
msgbox gUnknown_81BDFD7
goto_if_eq EventScript_DontCutTree
msgbox Text_MonUsedMove
closemessage
dofieldeffect FLDEFF_USE_CUT_ON_TREE
waitstate
goto EventScript_1BDF76
goto EventScript_CutTree
end
gUnknown_81BDF6B:: @ 81BDF6B
EventScript_FldEffCut:: @ 81BDF6B
lockall
dofieldeffect FLDEFF_USE_CUT_ON_TREE
waitstate
goto EventScript_1BDF76
goto EventScript_CutTree
end
EventScript_1BDF76:: @ 81BDF76
applymovement VAR_LAST_TALKED, Movement_1BDF85
EventScript_CutTree:: @ 81BDF76
applymovement VAR_LAST_TALKED, Movement_CutTree
waitmovement 0
removeobject VAR_LAST_TALKED
releaseall
end
Movement_1BDF85:: @ 81BDF85
Movement_CutTree:: @ 81BDF85
cut_tree
step_end
EventScript_1BDF87:: @ 81BDF87
msgbox gUnknown_81BDFE3, MSGBOX_SIGN
EventScript_CantCutTree:: @ 81BDF87
msgbox Text_TreeCanBeCutDown, MSGBOX_SIGN
releaseall
end
EventScript_1BDF91:: @ 81BDF91
EventScript_DontCutTree:: @ 81BDF91
closemessage
releaseall
end
gUnknown_81BDF94:: @ 81BDF94
Text_CutTreeDown:: @ 81BDF94
.string "This tree looks like it can be CUT\n"
.string "down!\p"
.string "Would you like to CUT it?$"
gUnknown_81BDFD7:: @ 81BDFD7
Text_MonUsedMove:: @ 81BDFD7
.string "{STR_VAR_1} used {STR_VAR_2}!$"
gUnknown_81BDFE3:: @ 81BDFE3
Text_TreeCanBeCutDown:: @ 81BDFE3
.string "This tree looks like it can be CUT\n"
.string "down!$"
@@ -65,63 +65,63 @@ EventScript_InteractWithRockSmashRockObject:: @ 81BE00C
compare VAR_RESULT, 2
goto_if_eq EventScript_1A7AE0
lockall
goto_if_unset FLAG_BADGE06_GET, EventScript_1BE091
goto_if_unset FLAG_BADGE06_GET, EventScript_CantSmashRock
checkpartymove MOVE_ROCK_SMASH
compare VAR_RESULT, PARTY_SIZE
goto_if_eq EventScript_1BE091
goto_if_eq EventScript_CantSmashRock
setfieldeffectarg 0, VAR_RESULT
getpartymonname 0, VAR_RESULT
getmovename 1, MOVE_ROCK_SMASH
msgbox Text_1BE09D, MSGBOX_YESNO
msgbox Text_UseRockSmash, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1BE09A
msgbox gUnknown_81BDFD7
goto_if_eq EventScript_DontSmashRock
msgbox Text_MonUsedMove
closemessage
dofieldeffect FLDEFF_USE_ROCK_SMASH
waitstate
goto EventScript_1BE06F
goto EventScript_UseRockSmash
end
EventScript_FldEffRockSmash:: @ 81BE064
lockall
dofieldeffect FLDEFF_USE_ROCK_SMASH
waitstate
goto EventScript_1BE06F
goto EventScript_UseRockSmash
end
EventScript_1BE06F:: @ 81BE06F
applymovement VAR_LAST_TALKED, Movement_1BE08F
EventScript_UseRockSmash:: @ 81BE06F
applymovement VAR_LAST_TALKED, Movement_BreakRock
waitmovement 0
removeobject VAR_LAST_TALKED
special ScrSpecial_RockSmashWildEncounter
compare VAR_RESULT, 0
goto_if_eq EventScript_1BE08D
compare VAR_RESULT, FALSE
goto_if_eq EventScript_RockSmashNoEncounter
waitstate
releaseall
end
EventScript_1BE08D:: @ 81BE08D
EventScript_RockSmashNoEncounter:: @ 81BE08D
releaseall
end
Movement_1BE08F:: @ 81BE08F
Movement_BreakRock:: @ 81BE08F
rock_smash_break
step_end
EventScript_1BE091:: @ 81BE091
msgbox gUnknown_81BE0E2, MSGBOX_SIGN
EventScript_CantSmashRock:: @ 81BE091
msgbox Text_MonMaySmashRock, MSGBOX_SIGN
end
EventScript_1BE09A:: @ 81BE09A
EventScript_DontSmashRock:: @ 81BE09A
closemessage
releaseall
end
Text_1BE09D:: @ 81BE09D
Text_UseRockSmash:: @ 81BE09D
.string "This rock appears to be breakable.\n"
.string "Would you like to use ROCK SMASH?$"
gUnknown_81BE0E2:: @ 81BE0E2
Text_MonMaySmashRock:: @ 81BE0E2
.string "It's a rugged rock, but a POKéMON\n"
.string "may be able to smash it.$"
@@ -130,177 +130,177 @@ EventScript_InteractWithStrengthBoulderObject:: @ 81BE11D
compare VAR_RESULT, 2
goto_if_eq EventScript_1A7AE0
lockall
goto_if_unset FLAG_BADGE04_GET, EventScript_1BE185
goto_if_set FLAG_SYS_STRENGTH_ACTIVE, EventScript_1BE18E
goto_if_unset FLAG_BADGE04_GET, EventScript_CantMoveBoulder
goto_if_set FLAG_SYS_STRENGTH_ACTIVE, EventScript_AlreadyUsedStrength
checkpartymove MOVE_STRENGTH
compare VAR_RESULT, PARTY_SIZE
goto_if_eq EventScript_1BE185
goto_if_eq EventScript_CantMoveBoulder
setfieldeffectarg 0, VAR_RESULT
msgbox gUnknown_81BE19A, MSGBOX_YESNO
msgbox Text_UseStrength, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1BE197
goto_if_eq EventScript_DontUseStrength
closemessage
dofieldeffect FLDEFF_USE_STRENGTH
waitstate
goto EventScript_1BE179
goto EventScript_UseStrength
end
EventScript_FldEffStrength:: @ 81BE16E
lockall
dofieldeffect FLDEFF_USE_STRENGTH
waitstate
goto EventScript_1BE179
goto EventScript_UseStrength
end
EventScript_1BE179:: @ 81BE179
EventScript_UseStrength:: @ 81BE179
setflag FLAG_SYS_STRENGTH_ACTIVE
msgbox gUnknown_81BE1FA, MSGBOX_SIGN
msgbox Text_MonUsedStrengthCanMoveBoulders, MSGBOX_SIGN
end
EventScript_1BE185:: @ 81BE185
msgbox gUnknown_81BE244, MSGBOX_SIGN
EventScript_CantMoveBoulder:: @ 81BE185
msgbox Text_MonMayPushBoulder, MSGBOX_SIGN
end
EventScript_1BE18E:: @ 81BE18E
msgbox gUnknown_81BE284, MSGBOX_SIGN
EventScript_AlreadyUsedStrength:: @ 81BE18E
msgbox Text_StrengthMadeMovingBouldersPossible, MSGBOX_SIGN
end
EventScript_1BE197:: @ 81BE197
EventScript_DontUseStrength:: @ 81BE197
closemessage
releaseall
end
gUnknown_81BE19A:: @ 81BE19A
Text_UseStrength:: @ 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
Text_MonUsedStrengthCanMoveBoulders:: @ 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
Text_MonMayPushBoulder:: @ 81BE244
.string "It's a big boulder, but a POKéMON\n"
.string "may be able to push it aside.$"
gUnknown_81BE284:: @ 81BE284
Text_StrengthMadeMovingBouldersPossible:: @ 81BE284
.string "STRENGTH made it possible to move\n"
.string "boulders around.$"
gUnknown_81BE2B7:: @ 81BE2B7
EventScript_InteractWithWaterfall:: @ 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
goto_if_eq EventScript_WaterCrashingDown
getpartymonname 0, VAR_RESULT
setfieldeffectarg 0, VAR_RESULT
msgbox gUnknown_81BE33F, MSGBOX_YESNO
msgbox Text_UseWaterfall, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1BE308
msgbox gUnknown_81BE378
goto_if_eq EventScript_EndWaterfall
msgbox Text_MonUsedWaterfall
dofieldeffect FLDEFF_USE_WATERFALL
goto EventScript_1BE308
goto EventScript_EndWaterfall
EventScript_81BE2FF:: @ 81BE2FF
lockall
EventScript_1BE300:
msgbox gUnknown_81BE30A
EventScript_1BE308:
EventScript_WaterCrashingDown:
msgbox Text_WallOfWaterCrashingDown
EventScript_EndWaterfall:
releaseall
end
gUnknown_81BE30A:: @ 81BE30A
Text_WallOfWaterCrashingDown:: @ 81BE30A
.string "A wall of water is crashing down\n"
.string "with a mighty roar.$"
gUnknown_81BE33F:: @ 81BE33F
Text_UseWaterfall:: @ 81BE33F
.string "It's a large waterfall.\n"
.string "Would you like to use WATERFALL?$"
gUnknown_81BE378:: @ 81BE378
Text_MonUsedWaterfall:: @ 81BE378
.string "{STR_VAR_1} used WATERFALL.$"
@ Unused leftover from R/S
EventScript_1BE38B:: @ 81BE38B
EventScript_InteractWithDeepWater:: @ 81BE38B
lockall
checkpartymove MOVE_DIVE
compare VAR_RESULT, PARTY_SIZE
goto_if_eq EventScript_1BE3CA
goto_if_eq EventScript_MayGoUnderwater
getpartymonname 0, VAR_RESULT
setfieldeffectarg 0, VAR_RESULT
setfieldeffectarg 1, 1
msgbox gUnknown_81BE469, MSGBOX_YESNO
msgbox Text_SeaIsDeepUseDive, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1BE3D2
msgbox gUnknown_81BE49B
goto_if_eq EventScript_EndDive
msgbox Text_MonUsedDive
dofieldeffect FLDEFF_USE_DIVE
goto EventScript_1BE3D2
goto EventScript_EndDive
EventScript_1BE3C9:: @ 81BE3C9
EventScript_CantDive:: @ 81BE3C9
lockall
EventScript_1BE3CA:
msgbox Text_1BE42B
EventScript_1BE3D2:
EventScript_MayGoUnderwater:
msgbox Text_MonMayGoUnderwater
EventScript_EndDive:
releaseall
end
EventScript_1BE3D4:: @ 81BE3D4
EventScript_TrySurface:: @ 81BE3D4
lockall
checkpartymove MOVE_DIVE
compare VAR_RESULT, PARTY_SIZE
goto_if_eq EventScript_1BE412
goto_if_eq EventScript_CantSurface
getpartymonname 0, VAR_RESULT
setfieldeffectarg 0, VAR_RESULT
setfieldeffectarg 1, 1
msgbox gUnknown_81BE4EF, MSGBOX_YESNO
msgbox Text_LightFilteringUseDive, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1BE429
msgbox gUnknown_81BE49B
goto_if_eq EventScript_EndSurface
msgbox Text_MonUsedDive
dofieldeffect FLDEFF_USE_DIVE
goto EventScript_1BE429
goto EventScript_EndSurface
EventScript_1BE412:: @ 81BE412
EventScript_CantSurface:: @ 81BE412
lockall
msgbox gUnknown_81BE4A9
goto EventScript_1BE429
msgbox Text_MonMaySurface
goto EventScript_EndSurface
EventScript_1BE420:: @ 81BE420
EventScript_ObstacleCantSurface:: @ 81BE420
lockall
msgbox gUnknown_81BE52F
EventScript_1BE429:
msgbox Text_DiveCantBeUsedHere
EventScript_EndSurface:
releaseall
end
Text_1BE42B:: @ 81BE42B
Text_MonMayGoUnderwater:: @ 81BE42B
.string "The sea is deep here. A POKéMON\n"
.string "may be able to go underwater.$"
gUnknown_81BE469:: @ 81BE469
Text_SeaIsDeepUseDive:: @ 81BE469
.string "The sea is deep here.\n"
.string "Would you like to use DIVE?$"
gUnknown_81BE49B:: @ 81BE49B
Text_MonUsedDive:: @ 81BE49B
.string "{STR_VAR_1} used DIVE.$"
gUnknown_81BE4A9:: @ 81BE4A9
Text_MonMaySurface:: @ 81BE4A9
.string "Light is filtering down from above.\n"
.string "A POKéMON may be able to surface.$"
gUnknown_81BE4EF:: @ 81BE4EF
Text_LightFilteringUseDive:: @ 81BE4EF
.string "Light is filtering down from above.\n"
.string "Would you like to use DIVE?$"
gUnknown_81BE52F:: @ 81BE52F
Text_DiveCantBeUsedHere:: @ 81BE52F
.string "There is an obstacle above.\n"
.string "DIVE can't be used here.$"
EventScript_FailSweetScent:: @ 81BE564
msgbox Text_1BE56D, MSGBOX_SIGN
msgbox Text_LooksLikeNothingHere, MSGBOX_SIGN
end
Text_1BE56D:: @ 81BE56D
Text_LooksLikeNothingHere:: @ 81BE56D
.string "Looks like there's nothing here…$"
+1 -1
View File
@@ -1,4 +1,4 @@
EventScript_81BFB5F:: @ 81BFB5F
EventScript_FldEffFlash:: @ 81BFB5F
animateflash 0
setflashradius 0
end
+12 -7
View File
@@ -1,13 +1,17 @@
EventScript_1C1338:: @ 81C1338
map_script_2 VAR_0x4030, 0, EventScript_1C1348
@ Unused
EventScript_CheckFallDownHole:: @ 81C1338
map_script_2 VAR_ICE_STEP_COUNT, 0, EventScript_FallDownHole
.2byte 0
copyvar VAR_0x4030, 1
@ Unused
EventScript_FixCrackedGround::
copyvar VAR_ICE_STEP_COUNT, 1
end
EventScript_1C1348:: @ 81C1348
EventScript_FallDownHole:: @ 81C1348
lockall
delay 20
applymovement OBJ_EVENT_ID_PLAYER, Movement_1C137A
applymovement OBJ_EVENT_ID_PLAYER, Movement_SetInvisible
waitmovement 0
playse SE_RU_HYUU
delay 60
@@ -15,10 +19,11 @@ EventScript_1C1348:: @ 81C1348
waitstate
end
@ TODO: EventScript_FallDownHoleMtPyre in pokeemerald, needs generic name
EventScript_1C1361:: @ 81C1361
lockall
delay 20
applymovement OBJ_EVENT_ID_PLAYER, Movement_1C137A
applymovement OBJ_EVENT_ID_PLAYER, Movement_SetInvisible
waitmovement 0
playse SE_RU_HYUU
delay 60
@@ -26,6 +31,6 @@ EventScript_1C1361:: @ 81C1361
waitstate
end
Movement_1C137A:: @ 81C137A
Movement_SetInvisible: @ 81C137A
set_invisible
step_end
+299 -298
View File
@@ -1,581 +1,582 @@
VictoryRoad_2F_EventScript_1C47AE:: @ 81C47AE
VictoryRoad_2F_EventScript_DoubleEdgeTutor:: @ 81C47AE
lock
faceplayer
goto_if_set FLAG_TUTOR_DOUBLE_EDGE, EventScript_1C480C
msgbox Text_1749F9, MSGBOX_YESNO
goto_if_set FLAG_TUTOR_DOUBLE_EDGE, EventScript_DoubleEdgeTaught
msgbox Text_DoubleEdgeTeach, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C4802
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4802
msgbox Text_174AE2
goto_if_eq EventScript_DoubleEdgeDeclined
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq EventScript_DoubleEdgeDeclined
msgbox Text_DoubleEdgeWhichMon
setvar VAR_0x8005, MOVETUTOR_DOUBLE_EDGE
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4802
call EventScript_ChooseMoveTutorMon
compare VAR_RESULT, FALSE
goto_if_eq EventScript_DoubleEdgeDeclined
setflag FLAG_TUTOR_DOUBLE_EDGE
goto EventScript_1C480C
goto EventScript_DoubleEdgeTaught
end
EventScript_1C4802:: @ 81C4802
msgbox Text_174ABC
EventScript_DoubleEdgeDeclined:: @ 81C4802
msgbox Text_DoubleEdgeDeclined
release
end
EventScript_1C480C:: @ 81C480C
msgbox Text_174B0C
EventScript_DoubleEdgeTaught:: @ 81C480C
msgbox Text_DoubleEdgeTaught
release
end
EventScript_1C4816:: @ 81C4816
EventScript_ThunderWaveTutor:: @ 81C4816
lock
faceplayer
goto_if_set FLAG_TUTOR_THUNDER_WAVE, EventScript_1C4874
msgbox Text_175711, MSGBOX_YESNO
goto_if_set FLAG_TUTOR_THUNDER_WAVE, EventScript_ThunderWaveTaught
msgbox Text_ThunderWaveTeach, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C486A
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C486A
msgbox Text_1757C1
goto_if_eq EventScript_ThunderWaveDeclined
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq EventScript_ThunderWaveDeclined
msgbox Text_ThunderWaveWhichMon
setvar VAR_0x8005, MOVETUTOR_THUNDER_WAVE
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if_eq EventScript_1C486A
call EventScript_ChooseMoveTutorMon
compare VAR_RESULT, FALSE
goto_if_eq EventScript_ThunderWaveDeclined
setflag FLAG_TUTOR_THUNDER_WAVE
goto EventScript_1C4874
goto EventScript_ThunderWaveTaught
end
EventScript_1C486A:: @ 81C486A
msgbox Text_17579D
EventScript_ThunderWaveDeclined:: @ 81C486A
msgbox Text_ThunderWaveDeclined
release
end
EventScript_1C4874:: @ 81C4874
msgbox Text_1757EC
EventScript_ThunderWaveTaught:: @ 81C4874
msgbox Text_ThunderWaveTaught
release
end
RockTunnel_B1F_EventScript_1C487E:: @ 81C487E
RockTunnel_B1F_EventScript_RockSlideTutor:: @ 81C487E
lock
faceplayer
goto_if_set FLAG_TUTOR_ROCK_SLIDE, EventScript_1C48DC
msgbox Text_1799E0, MSGBOX_YESNO
goto_if_set FLAG_TUTOR_ROCK_SLIDE, EventScript_RockSlideTaught
msgbox Text_RockSlideTeach, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C48D2
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C48D2
msgbox Text_179AE1
goto_if_eq EventScript_RockSlideDeclined
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq EventScript_RockSlideDeclined
msgbox Text_RockSlideWhichMon
setvar VAR_0x8005, MOVETUTOR_ROCK_SLIDE
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if_eq EventScript_1C48D2
call EventScript_ChooseMoveTutorMon
compare VAR_RESULT, FALSE
goto_if_eq EventScript_RockSlideDeclined
setflag FLAG_TUTOR_ROCK_SLIDE
goto EventScript_1C48DC
goto EventScript_RockSlideTaught
end
EventScript_1C48D2:: @ 81C48D2
msgbox Text_179AC0
EventScript_RockSlideDeclined:: @ 81C48D2
msgbox Text_RockSlideDeclined
release
end
EventScript_1C48DC:: @ 81C48DC
msgbox Text_179B0A
EventScript_RockSlideTaught:: @ 81C48DC
msgbox Text_RockSlideTaught
release
end
MtEmber_Exterior_EventScript_1C48E6:: @ 81C48E6
MtEmber_Exterior_EventScript_ExplosionTutor:: @ 81C48E6
lock
faceplayer
goto_if_set FLAG_TUTOR_EXPLOSION, EventScript_1C4944
msgbox Text_17A642, MSGBOX_YESNO
goto_if_set FLAG_TUTOR_EXPLOSION, EventScript_ExplosionTaught
msgbox Text_ExplosionTeach, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C493A
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C493A
msgbox Text_17A717
goto_if_eq EventScript_ExplosionDeclined
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq EventScript_ExplosionDeclined
msgbox Text_ExplosionWhichMon
setvar VAR_0x8005, MOVETUTOR_EXPLOSION
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if_eq EventScript_1C493A
call EventScript_ChooseMoveTutorMon
compare VAR_RESULT, FALSE
goto_if_eq EventScript_ExplosionDeclined
setflag FLAG_TUTOR_EXPLOSION
goto EventScript_1C4944
goto EventScript_ExplosionTaught
end
EventScript_1C493A:: @ 81C493A
msgbox Text_17A6ED
EventScript_ExplosionDeclined:: @ 81C493A
msgbox Text_ExplosionDeclined
release
end
EventScript_1C4944:: @ 81C4944
msgbox Text_17A756
EventScript_ExplosionTaught:: @ 81C4944
msgbox Text_ExplosionTaught
release
end
Route4_EventScript_1C494E:: @ 81C494E
Route4_EventScript_MegaPunchTutor:: @ 81C494E
lock
faceplayer
goto_if_set FLAG_TUTOR_META_PUNCH, EventScript_1C49AC
msgbox Text_1839D5, MSGBOX_YESNO
goto_if_set FLAG_TUTOR_MEGA_PUNCH, EventScript_MegaPunchTaught
msgbox Text_MegaPunchTeach, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C49A2
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C49A2
msgbox Text_183ABF
goto_if_eq EventScript_MegaPunchDeclined
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq EventScript_MegaPunchDeclined
msgbox Text_MegaPunchWhichMon
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
call EventScript_ChooseMoveTutorMon
compare VAR_RESULT, FALSE
goto_if_eq EventScript_MegaPunchDeclined
setflag FLAG_TUTOR_MEGA_PUNCH
goto EventScript_MegaPunchTaught
end
EventScript_1C49A2:: @ 81C49A2
msgbox Text_183A83
EventScript_MegaPunchDeclined:: @ 81C49A2
msgbox Text_MegaPunchDeclined
release
end
EventScript_1C49AC:: @ 81C49AC
msgbox Text_183AE2
EventScript_MegaPunchTaught:: @ 81C49AC
msgbox Text_MegaPunchTaught
release
end
Route4_EventScript_1C49B6:: @ 81C49B6
Route4_EventScript_MegaKickTutor:: @ 81C49B6
lock
faceplayer
goto_if_set FLAG_TUTOR_MEGA_KICK, EventScript_1C4A14
msgbox Text_183B74, MSGBOX_YESNO
goto_if_set FLAG_TUTOR_MEGA_KICK, EventScript_MegaKickTaught
msgbox Text_MegaKickTeach, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C4A0A
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4A0A
msgbox Text_183C68
goto_if_eq EventScript_MegaKickDeclined
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq EventScript_MegaKickDeclined
msgbox Text_MegaKickWhichMon
setvar VAR_0x8005, MOVETUTOR_MEGA_KICK
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4A0A
call EventScript_ChooseMoveTutorMon
compare VAR_RESULT, FALSE
goto_if_eq EventScript_MegaKickDeclined
setflag FLAG_TUTOR_MEGA_KICK
goto EventScript_1C4A14
goto EventScript_MegaKickTaught
end
EventScript_1C4A0A:: @ 81C4A0A
msgbox Text_183C25
EventScript_MegaKickDeclined:: @ 81C4A0A
msgbox Text_MegaKickDeclined
release
end
EventScript_1C4A14:: @ 81C4A14
msgbox Text_183C94
EventScript_MegaKickTaught:: @ 81C4A14
msgbox Text_MegaKickTaught
release
end
EventScript_1C4A1E:: @ 81C4A1E
EventScript_DreamEaterTutor:: @ 81C4A1E
lock
faceplayer
goto_if_set FLAG_TUTOR_DREAM_EATER, EventScript_1C4A7C
msgbox Text_17E316, MSGBOX_YESNO
goto_if_set FLAG_TUTOR_DREAM_EATER, EventScript_DreamEaterTaught
msgbox Text_DreamEaterTeach, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C4A72
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4A72
msgbox Text_17E3F1
goto_if_eq EventScript_DreamEaterDeclined
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq EventScript_DreamEaterDeclined
msgbox Text_DreamEaterWhichMon
setvar VAR_0x8005, MOVETUTOR_DREAM_EATER
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4A72
call EventScript_ChooseMoveTutorMon
compare VAR_RESULT, FALSE
goto_if_eq EventScript_DreamEaterDeclined
setflag FLAG_TUTOR_DREAM_EATER
goto EventScript_1C4A7C
goto EventScript_DreamEaterTaught
end
EventScript_1C4A72:: @ 81C4A72
msgbox Text_17E3E9
EventScript_DreamEaterDeclined:: @ 81C4A72
msgbox Text_DreamEaterDeclined
release
end
EventScript_1C4A7C:: @ 81C4A7C
msgbox Text_17E41B
EventScript_DreamEaterTaught:: @ 81C4A7C
msgbox Text_DreamEaterTaught
release
end
EventScript_1C4A86:: @ 81C4A86
EventScript_SoftboiledTutor:: @ 81C4A86
lock
faceplayer
goto_if_set FLAG_TUTOR_SOFT_BOILED, EventScript_1C4AE4
msgbox Text_180388, MSGBOX_YESNO
goto_if_set FLAG_TUTOR_SOFT_BOILED, EventScript_SoftboiledTaught
msgbox Text_SoftboiledTeach, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C4ADA
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4ADA
msgbox Text_180484
goto_if_eq EventScript_SoftboiledDeclined
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq EventScript_SoftboiledDeclined
msgbox Text_SoftboiledWhichMon
setvar VAR_0x8005, MOVETUTOR_SOFT_BOILED
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4ADA
call EventScript_ChooseMoveTutorMon
compare VAR_RESULT, FALSE
goto_if_eq EventScript_SoftboiledDeclined
setflag FLAG_TUTOR_SOFT_BOILED
goto EventScript_1C4AE4
goto EventScript_SoftboiledTaught
end
EventScript_1C4ADA:: @ 81C4ADA
msgbox Text_18043F
EventScript_SoftboiledDeclined:: @ 81C4ADA
msgbox Text_SoftboiledDeclined
release
end
EventScript_1C4AE4:: @ 81C4AE4
msgbox Text_1804C4
EventScript_SoftboiledTaught:: @ 81C4AE4
msgbox Text_SoftboiledTaught
release
end
FuchsiaCity_EventScript_1C4AEE:: @ 81C4AEE
FuchsiaCity_EventScript_SubstituteTutor:: @ 81C4AEE
lock
faceplayer
goto_if_set FLAG_TUTOR_SUBSTITUTE, EventScript_1C4B4C
msgbox Text_180948, MSGBOX_YESNO
goto_if_set FLAG_TUTOR_SUBSTITUTE, EventScript_SubstituteTaught
msgbox Text_SubstituteTeach, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C4B42
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4B42
msgbox Text_180A57
goto_if_eq EventScript_SubstituteDeclined
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq EventScript_SubstituteDeclined
msgbox Text_SubstituteWhichMon
setvar VAR_0x8005, MOVETUTOR_SUBSTITUTE
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4B42
call EventScript_ChooseMoveTutorMon
compare VAR_RESULT, FALSE
goto_if_eq EventScript_SubstituteDeclined
setflag FLAG_TUTOR_SUBSTITUTE
goto EventScript_1C4B4C
goto EventScript_SubstituteTaught
end
EventScript_1C4B42:: @ 81C4B42
msgbox Text_180A32
EventScript_SubstituteDeclined:: @ 81C4B42
msgbox Text_SubstituteDeclined
release
end
EventScript_1C4B4C:: @ 81C4B4C
msgbox Text_180A80
EventScript_SubstituteTaught:: @ 81C4B4C
msgbox Text_SubstituteTaught
release
end
SevenIsland_EventScript_1C4B56:: @ 81C4B56
SevenIsland_EventScript_SwordsDanceTutor:: @ 81C4B56
lock
faceplayer
goto_if_set FLAG_TUTOR_SWORDS_DANCE, EventScript_1C4BB4
msgbox Text_182F01, MSGBOX_YESNO
goto_if_set FLAG_TUTOR_SWORDS_DANCE, EventScript_SwordsDanceTaught
msgbox Text_SwordsDanceTeach, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C4BAA
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4BAA
msgbox Text_182FD9
goto_if_eq EventScript_SwordsDanceDeclined
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq EventScript_SwordsDanceDeclined
msgbox Text_SwordsDanceWhichMon
setvar VAR_0x8005, MOVETUTOR_SWORDS_DANCE
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4BAA
call EventScript_ChooseMoveTutorMon
compare VAR_RESULT, FALSE
goto_if_eq EventScript_SwordsDanceDeclined
setflag FLAG_TUTOR_SWORDS_DANCE
goto EventScript_1C4BB4
goto EventScript_SwordsDanceTaught
end
EventScript_1C4BAA:: @ 81C4BAA
msgbox Text_182FC1
EventScript_SwordsDanceDeclined:: @ 81C4BAA
msgbox Text_SwordsDanceDeclined
release
end
EventScript_1C4BB4:: @ 81C4BB4
msgbox Text_18300D
EventScript_SwordsDanceTaught:: @ 81C4BB4
msgbox Text_SwordsDanceTaught
release
end
PewterCity_Museum_1F_EventScript_1C4BBE:: @ 81C4BBE
PewterCity_Museum_1F_EventScript_SeismicTossTutor:: @ 81C4BBE
lock
faceplayer
goto_if_set FLAG_TUTOR_SEISMIC_TOSS, EventScript_1C4C1C
msgbox Text_1909A3, MSGBOX_YESNO
goto_if_set FLAG_TUTOR_SEISMIC_TOSS, EventScript_SeismicTossTaught
msgbox Text_SeismicTossTeach, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C4C12
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4C12
msgbox Text_190AD5
goto_if_eq EventScript_SeismicTossDeclined
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq EventScript_SeismicTossDeclined
msgbox Text_SeismicTossWhichMon
setvar VAR_0x8005, MOVETUTOR_SEISMIC_TOSS
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4C12
call EventScript_ChooseMoveTutorMon
compare VAR_RESULT, FALSE
goto_if_eq EventScript_SeismicTossDeclined
setflag FLAG_TUTOR_SEISMIC_TOSS
goto EventScript_1C4C1C
goto EventScript_SeismicTossTaught
end
EventScript_1C4C12:: @ 81C4C12
msgbox Text_190AA9
EventScript_SeismicTossDeclined:: @ 81C4C12
msgbox Text_SeismicTossDeclined
release
end
EventScript_1C4C1C:: @ 81C4C1C
msgbox Text_190B00
EventScript_SeismicTossTaught:: @ 81C4C1C
msgbox Text_SeismicTossTaught
release
end
EventScript_1C4C26:: @ 81C4C26
EventScript_CounterTutor:: @ 81C4C26
lock
faceplayer
goto_if_set FLAG_TUTOR_COUNTER, EventScript_1C4C84
msgbox Text_195928, MSGBOX_YESNO
goto_if_set FLAG_TUTOR_COUNTER, EventScript_CounterTaught
msgbox Text_CounterTeach, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C4C7A
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4C7A
msgbox Text_195A08
goto_if_eq EventScript_CounterDeclined
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq EventScript_CounterDeclined
msgbox Text_CounterWhichMon
setvar VAR_0x8005, MOVETUTOR_COUNTER
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4C7A
call EventScript_ChooseMoveTutorMon
compare VAR_RESULT, FALSE
goto_if_eq EventScript_CounterDeclined
setflag FLAG_TUTOR_COUNTER
goto EventScript_1C4C84
goto EventScript_CounterTaught
end
EventScript_1C4C7A:: @ 81C4C7A
msgbox Text_1959CC
EventScript_CounterDeclined:: @ 81C4C7A
msgbox Text_CounterDeclined
release
end
EventScript_1C4C84:: @ 81C4C84
msgbox Text_195A31
EventScript_CounterTaught:: @ 81C4C84
msgbox Text_CounterTaught
release
end
EventScript_1C4C8E:: @ 81C4C8E
EventScript_MetronomeTutor:: @ 81C4C8E
lock
faceplayer
goto_if_set FLAG_TUTOR_METRONOME, EventScript_1C4CEC
msgbox Text_19A137, MSGBOX_YESNO
goto_if_set FLAG_TUTOR_METRONOME, EventScript_MetronomeTaught
msgbox Text_MetronomeTeach, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C4CE2
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4CE2
msgbox Text_19A1EA
goto_if_eq EventScript_MetronomeDeclined
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq EventScript_MetronomeDeclined
msgbox Text_MetronomeWhichMon
setvar VAR_0x8005, MOVETUTOR_METRONOME
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4CE2
call EventScript_ChooseMoveTutorMon
compare VAR_RESULT, FALSE
goto_if_eq EventScript_MetronomeDeclined
setflag FLAG_TUTOR_METRONOME
goto EventScript_1C4CEC
goto EventScript_MetronomeTaught
end
EventScript_1C4CE2:: @ 81C4CE2
msgbox Text_19A1CB
EventScript_MetronomeDeclined:: @ 81C4CE2
msgbox Text_MetronomeDeclined
release
end
EventScript_1C4CEC:: @ 81C4CEC
msgbox Text_19A20E
EventScript_MetronomeTaught:: @ 81C4CEC
msgbox Text_MetronomeTaught
release
end
EventScript_1C4CF6:: @ 81C4CF6
goto_if_set FLAG_TUTOR_MIMIC, EventScript_1C4D59
msgbox Text_19AD85, MSGBOX_YESNO
EventScript_MimicTutor:: @ 81C4CF6
goto_if_set FLAG_TUTOR_MIMIC, EventScript_MimicTaught
msgbox Text_MimicTeach, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C4D4F
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4D4F
msgbox Text_19ADEE
goto_if_eq EventScript_MimicDeclined
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq EventScript_MimicDeclined
msgbox Text_MimicWhichMon
setvar VAR_0x8005, MOVETUTOR_MIMIC
call EventScript_1C4F30
call EventScript_ChooseMoveTutorMon
lock
faceplayer
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4D4F
goto_if_eq EventScript_MimicDeclined
removeitem ITEM_POKE_DOLL, 1
setflag FLAG_TUTOR_MIMIC
goto EventScript_1C4D59
goto EventScript_MimicTaught
end
EventScript_1C4D4F:: @ 81C4D4F
msgbox Text_19ADD8
EventScript_MimicDeclined:: @ 81C4D4F
msgbox Text_MimicDeclined
release
end
EventScript_1C4D59:: @ 81C4D59
EventScript_MimicTaught:: @ 81C4D59
checkplayergender
compare VAR_RESULT, MALE
call_if_eq EventScript_1C4D72
call_if_eq EventScript_MimicTaughtMale
compare VAR_RESULT, FEMALE
call_if_eq EventScript_1C4D7B
call_if_eq EventScript_MimicTaughtFemale
release
end
EventScript_1C4D72:: @ 81C4D72
msgbox Text_19AE1C
EventScript_MimicTaughtMale:: @ 81C4D72
msgbox Text_MimicTaughtMale
return
EventScript_1C4D7B:: @ 81C4D7B
msgbox Text_19AE90
EventScript_MimicTaughtFemale:: @ 81C4D7B
msgbox Text_MimicTaughtFemale
return
FourIsland_House1_EventScript_1C4D84:: @ 81C4D84
FourIsland_House1_EventScript_BodySlamTutor:: @ 81C4D84
lock
faceplayer
goto_if_set FLAG_TUTOR_BODY_SLAM, EventScript_1C4DE2
msgbox Text_1A3505, MSGBOX_YESNO
goto_if_set FLAG_TUTOR_BODY_SLAM, EventScript_BodySlamTaught
msgbox Text_BodySlamTeach, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C4DD8
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4DD8
msgbox Text_1A35DA
goto_if_eq EventScript_BodySlamDeclined
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq EventScript_BodySlamDeclined
msgbox Text_BodySlamWhichMon
setvar VAR_0x8005, MOVETUTOR_BODY_SLAM
call EventScript_1C4F30
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4DD8
call EventScript_ChooseMoveTutorMon
compare VAR_RESULT, FALSE
goto_if_eq EventScript_BodySlamDeclined
setflag FLAG_TUTOR_BODY_SLAM
goto EventScript_1C4DE2
goto EventScript_BodySlamTaught
end
EventScript_1C4DD8:: @ 81C4DD8
msgbox Text_1A35C7
EventScript_BodySlamDeclined:: @ 81C4DD8
msgbox Text_BodySlamDeclined
release
end
EventScript_1C4DE2:: @ 81C4DE2
msgbox Text_1A3609
EventScript_BodySlamTaught:: @ 81C4DE2
msgbox Text_BodySlamTaught
release
end
TwoIsland_CapeBrink_House_EventScript_1C4DEC:: @ 81C4DEC
TwoIsland_CapeBrink_House_EventScript_StarterTutor:: @ 81C4DEC
special sub_8110AB4
compare VAR_RESULT, 2
goto_if_eq EventScript_1A7AE0
special sub_8112364
lock
faceplayer
goto_if_set FLAG_LEARNED_ALL_MOVES_AT_CAPE_BRINK, EventScript_1C4EA1
goto_if_set FLAG_TEMP_2, EventScript_1C4E97
goto_if_set FLAG_LEARNED_ALL_MOVES_AT_CAPE_BRINK, CapeBrinkTutor_EventScript_TaughtAllMoves
goto_if_set FLAG_TEMP_2, CapeBrinkTutor_EventScript_MoveJustTaught
getfirstpartymonname 0
msgbox Text_1A46C6
msgbox Text_UltimateMoveThatMon
specialvar VAR_RESULT, Special_CapeBrinkGetMoveToTeachLeadPokemon
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4F26
compare VAR_RESULT, FALSE
goto_if_eq CapeBrinkTutor_EventScript_NoLeadStarter
copyvar VAR_0x8009, VAR_0x8005
compare VAR_FACING, DIR_NORTH
call_if_eq EventScript_1C4EF0
call_if_eq CapeBrinkTutor_EventScript_JumpInPlaceDown
compare VAR_FACING, DIR_SOUTH
call_if_eq EventScript_1C4EFB
call_if_eq CapeBrinkTutor_EventScript_JumpInPlaceUp
compare VAR_FACING, DIR_EAST
call_if_eq EventScript_1C4F06
call_if_eq CapeBrinkTutor_EventScript_JumpInPlaceLeft
compare VAR_FACING, DIR_WEST
call_if_eq EventScript_1C4F11
msgbox Text_1A4751, MSGBOX_YESNO
call_if_eq CapeBrinkTutor_EventScript_JumpInPlaceRight
msgbox Text_AllowMeToTeachMonUltimateMove, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1C4F1C
call EventScript_1C4F37
compare VAR_RESULT, 0
goto_if_eq EventScript_1C4F1C
msgbox Text_1A4814
goto_if_eq CapeBrinkTutor_EventScript_DeclineMove
call EventScript_CanOnlyBeLearnedOnce
compare VAR_RESULT, NO
goto_if_eq CapeBrinkTutor_EventScript_DeclineMove
msgbox Text_LetMeConferUltimateMove
closemessage
fadescreen FADE_TO_BLACK
goto EventScript_1C4EDA
goto CapeBrinkTutor_EventScript_ChooseMon
EventScript_1C4E8F:: @ 81C4E8F
@ Unused
CapeBrinkTutor_EventScript_FadeTaughtMove:: @ 81C4E8F
fadescreen FADE_FROM_BLACK
goto EventScript_1C4EAB
goto CapeBrinkTutor_EventScript_TaughtMove
end
EventScript_1C4E97:: @ 81C4E97
msgbox Text_1A48B3
CapeBrinkTutor_EventScript_MoveJustTaught:: @ 81C4E97
msgbox Text_MakeBestUseOfMove
release
end
EventScript_1C4EA1:: @ 81C4EA1
msgbox Text_1A4972
CapeBrinkTutor_EventScript_TaughtAllMoves:: @ 81C4EA1
msgbox Text_FeelRejuvenated
release
end
EventScript_1C4EAB:: @ 81C4EAB
CapeBrinkTutor_EventScript_TaughtMove:: @ 81C4EAB
copyvar VAR_0x8005, VAR_0x8009
specialvar VAR_RESULT, Special_HasLearnedAllMovesFromCapeBrinkTutor
compare VAR_RESULT, 1
goto_if_eq EventScript_1C4ECD
msgbox Text_1A4865
compare VAR_RESULT, TRUE
goto_if_eq CapeBrinkTutor_EventScript_LearnedAllMoves
msgbox Text_TaughtMove
setflag FLAG_TEMP_2
release
end
EventScript_1C4ECD:: @ 81C4ECD
msgbox Text_1A48F3
CapeBrinkTutor_EventScript_LearnedAllMoves:: @ 81C4ECD
msgbox Text_PassedOnEverythingIKnow
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
CapeBrinkTutor_EventScript_ChooseMon:: @ 81C4EDA
call EventScript_ChooseMoveTutorMon
compare VAR_RESULT, FALSE
goto_if_eq CapeBrinkTutor_EventScript_DeclineMove
goto CapeBrinkTutor_EventScript_TaughtMove
end
EventScript_1C4EF0:: @ 81C4EF0
applymovement 1, Movement_1C4F4C
CapeBrinkTutor_EventScript_JumpInPlaceDown:: @ 81C4EF0
applymovement 1, Movement_JumpInPlaceDown
waitmovement 0
return
EventScript_1C4EFB:: @ 81C4EFB
applymovement 1, Movement_1C4F4E
CapeBrinkTutor_EventScript_JumpInPlaceUp:: @ 81C4EFB
applymovement 1, Movement_JumpInPlaceUp
waitmovement 0
return
EventScript_1C4F06:: @ 81C4F06
applymovement 1, Movement_1C4F50
CapeBrinkTutor_EventScript_JumpInPlaceLeft:: @ 81C4F06
applymovement 1, Movement_JumpInPlaceLeft
waitmovement 0
return
EventScript_1C4F11:: @ 81C4F11
applymovement 1, Movement_1C4F52
CapeBrinkTutor_EventScript_JumpInPlaceRight:: @ 81C4F11
applymovement 1, Movement_JumpInPlaceRight
waitmovement 0
return
EventScript_1C4F1C:: @ 81C4F1C
msgbox Text_1A47E5
CapeBrinkTutor_EventScript_DeclineMove:: @ 81C4F1C
msgbox Text_YouRejectIt
release
end
EventScript_1C4F26:: @ 81C4F26
msgbox Text_1A4737
CapeBrinkTutor_EventScript_NoLeadStarter:: @ 81C4F26
msgbox Text_JustMistaken
release
end
EventScript_1C4F30:: @ 81C4F30
EventScript_ChooseMoveTutorMon:: @ 81C4F30
special ChooseMonForMoveTutor
waitstate
lock
faceplayer
return
EventScript_1C4F37:: @ 81C4F37
EventScript_CanOnlyBeLearnedOnce:: @ 81C4F37
textcolor 3
special sub_80699BC
signmsg
msgbox Text_1A644F, MSGBOX_YESNO
msgbox Text_MoveCanOnlyBeLearnedOnce, MSGBOX_YESNO
normalmsg
call EventScript_1A6675
return
Movement_1C4F4C:: @ 81C4F4C
Movement_JumpInPlaceDown: @ 81C4F4C
jump_in_place_down
step_end
Movement_1C4F4E:: @ 81C4F4E
Movement_JumpInPlaceUp: @ 81C4F4E
jump_in_place_up
step_end
Movement_1C4F50:: @ 81C4F50
Movement_JumpInPlaceLeft: @ 81C4F50
jump_in_place_left
step_end
Movement_1C4F52:: @ 81C4F52
Movement_JumpInPlaceRight: @ 81C4F52
jump_in_place_right
step_end
+68 -66
View File
@@ -1,116 +1,118 @@
PewterCity_PokemonCenter_1F_EventScript_1BEE16:: @ 81BEE16
.equ GAVE_PROFILE, VAR_TEMP_1
MysteryEventClub_EventScript_Man:: @ 81BEE16
lock
faceplayer
compare VAR_TEMP_1, 1
goto_if_eq EventScript_1BEE3A
goto_if_set FLAG_SYS_SET_TRAINER_CARD_PROFILE, EventScript_1BEECD
msgbox Text_1BEF88
goto EventScript_1BEE44
compare GAVE_PROFILE, TRUE
goto_if_eq EventScript_AlreadyGaveProfile
goto_if_set FLAG_SYS_SET_TRAINER_CARD_PROFILE, EventScript_GivenProfileBefore
msgbox Text_IdLoveToHearYourProfile
goto EventScript_AskForProfile
end
EventScript_1BEE3A:: @ 81BEE3A
msgbox gUnknown_81BF36A
EventScript_AlreadyGaveProfile: @ 81BEE3A
msgbox Text_TellMoreNextTime
release
end
EventScript_1BEE44:: @ 81BEE44
message Text_1BF017
EventScript_AskForProfile: @ 81BEE44
message Text_TellMeWhatsYourProfile
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
case 0, EventScript_AcceptGiveProfile
case 1, EventScript_DeclineGiveProfile
case 2, EventScript_ProfileInfo
case SCR_MENU_CANCEL, EventScript_DeclineGiveProfile
end
EventScript_1BEE81:: @ 81BEE81
msgbox gUnknown_81BF053
goto EventScript_1BEE44
EventScript_ProfileInfo: @ 81BEE81
msgbox Text_ExplainProfile
goto EventScript_AskForProfile
end
EventScript_1BEE8F:: @ 81BEE8F
msgbox gUnknown_81BF166
EventScript_AcceptGiveProfile: @ 81BEE8F
msgbox Text_WhatsYourProfile
closemessage
goto EventScript_1BEF5A
goto EventScript_GiveProfile
end
EventScript_1BEE9E:: @ 81BEE9E
msgbox gUnknown_81BF1B2
EventScript_CancelGiveProfile: @ 81BEE9E
msgbox Text_DecidedNotTo
release
end
EventScript_1BEEA8:: @ 81BEEA8
setvar VAR_TEMP_1, 1
EventScript_GaveProfile: @ 81BEEA8
setvar GAVE_PROFILE, TRUE
setvar VAR_0x8004, 0
special Special_BufferEasyChatMessage
waitmessage
delay 80
msgbox gUnknown_81BF28E
msgbox Text_ProfileSaysSomethingAboutYou
release
end
EventScript_1BEEC3:: @ 81BEEC3
msgbox gUnknown_81BF17B
EventScript_DeclineGiveProfile: @ 81BEEC3
msgbox Text_DontBeLikeThat
release
end
EventScript_1BEECD:: @ 81BEECD
msgbox gUnknown_81BF1E8
goto EventScript_1BEEDB
EventScript_GivenProfileBefore: @ 81BEECD
msgbox Text_HiWeMeetAgain
goto EventScript_AskForNewProfile
end
EventScript_1BEEDB:: @ 81BEEDB
message Text_1BF1FB
EventScript_AskForNewProfile: @ 81BEEDB
message Text_ChangeYourProfile
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
case 0, EventScript_AcceptGiveNewProfile
case 1, EventScript_DeclineGiveNewProfile
case 2, EventScript_ProfileInfo2
case SCR_MENU_CANCEL, EventScript_DeclineGiveNewProfile
end
EventScript_1BEF18:: @ 81BEF18
msgbox gUnknown_81BF053
goto EventScript_1BEEDB
EventScript_ProfileInfo2: @ 81BEF18
msgbox Text_ExplainProfile
goto EventScript_AskForNewProfile
end
EventScript_1BEF26:: @ 81BEF26
msgbox gUnknown_81BF222
EventScript_AcceptGiveNewProfile: @ 81BEF26
msgbox Text_WhatAreYouLikeNow
closemessage
goto EventScript_1BEF5A
goto EventScript_GiveProfile
end
EventScript_1BEF35:: @ 81BEF35
msgbox gUnknown_81BF252
EventScript_DeclineGiveNewProfile: @ 81BEF35
msgbox Text_LikeProfileWayItIs
release
end
EventScript_1BEF3F:: @ 81BEF3F
setvar VAR_TEMP_1, 1
EventScript_GaveSpecialProfile: @ 81BEF3F
setvar GAVE_PROFILE, TRUE
setvar VAR_0x8004, 0
special Special_BufferEasyChatMessage
waitmessage
delay 80
msgbox gUnknown_81BF30D
msgbox Text_HeardThatBefore
release
end
EventScript_1BEF5A:: @ 81BEF5A
EventScript_GiveProfile: @ 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
goto_if_eq EventScript_GaveSpecialProfile
compare VAR_RESULT, FALSE
goto_if_eq EventScript_CancelGiveProfile
compare VAR_RESULT, TRUE
goto_if_eq EventScript_GaveProfile
end
Text_1BEF88:: @ 81BEF88
Text_IdLoveToHearYourProfile: @ 81BEF88
.string "Hi, glad to meet you!\p"
.string "…That's unfriendly of you.\n"
.string "How about saying hi back?\p"
@@ -118,11 +120,11 @@ Text_1BEF88:: @ 81BEF88
.string "yourself.\p"
.string "I'd love to hear your profile!$"
Text_1BF017:: @ 81BF017
Text_TellMeWhatsYourProfile: @ 81BF017
.string "Tell me something good about\n"
.string "yourself. What's your profile?$"
gUnknown_81BF053:: @ 81BF053
Text_ExplainProfile: @ 81BF053
.string "A profile is written using four\n"
.string "words or phrases.\p"
.string "There're plenty of words to choose\n"
@@ -134,46 +136,46 @@ gUnknown_81BF053:: @ 81BF053
.string "…It's easier than it sounds.\n"
.string "Why don't you try it?$"
gUnknown_81BF166:: @ 81BF166
Text_WhatsYourProfile: @ 81BF166
.string "What's your profile?$"
gUnknown_81BF17B:: @ 81BF17B
Text_DontBeLikeThat: @ 81BF17B
.string "Aww… Don't be like that.\n"
.string "You can tell me your profile.$"
gUnknown_81BF1B2:: @ 81BF1B2
Text_DecidedNotTo: @ 81BF1B2
.string "Oh, you've decided not to?\n"
.string "You're fickle, aren't you?$"
gUnknown_81BF1E8:: @ 81BF1E8
Text_HiWeMeetAgain: @ 81BF1E8
.string "Hi!\n"
.string "We meet again!$"
Text_1BF1FB:: @ 81BF1FB
Text_ChangeYourProfile: @ 81BF1FB
.string "Would you like to change your\n"
.string "profile?$"
gUnknown_81BF222:: @ 81BF222
Text_WhatAreYouLikeNow: @ 81BF222
.string "What are you like now?\n"
.string "I'd really like to know.$"
gUnknown_81BF252:: @ 81BF252
Text_LikeProfileWayItIs: @ 81BF252
.string "Okay, you like your profile the\n"
.string "way it is.\p"
.string "I think so, too.$"
gUnknown_81BF28E:: @ 81BF28E
Text_ProfileSaysSomethingAboutYou: @ 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
Text_HeardThatBefore: @ 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
Text_TellMoreNextTime: @ 81BF36A
.string "Please tell me more about\n"
.string "yourself next time!$"
+12 -12
View File
@@ -31,9 +31,9 @@ EventScript_ChoosePCMenu:: @ 81A69A8
case 0, EventScript_AccessPokemonStorage
case 1, EventScript_AccessPlayersPC
case 2, EventScript_AccessProfOaksPC
case 3, EventScript_1A6A56
case 4, EventScript_1A6A46
case SCR_MENU_CANCEL, EventScript_1A6A46
case 3, EventScript_AccessHallOfFame
case 4, EventScript_TurnOffPC
case SCR_MENU_CANCEL, EventScript_TurnOffPC
end
EventScript_AccessPlayersPC:: @ 81A69F0
@@ -46,8 +46,8 @@ EventScript_AccessPlayersPC:: @ 81A69F0
EventScript_AccessPokemonStorage:: @ 81A6A05
playse SE_PC_LOGIN
call_if_unset FLAG_SYS_NOT_SOMEONES_PC, EventScript_1A6A34
call_if_set FLAG_SYS_NOT_SOMEONES_PC, EventScript_1A6A3D
call_if_unset FLAG_SYS_NOT_SOMEONES_PC, EventScript_AccessSomeonesPC
call_if_set FLAG_SYS_NOT_SOMEONES_PC, EventScript_AccessBillsPC
msgbox Text_OpenedPkmnStorage
special ShowPokemonStorageSystem
waitstate
@@ -56,15 +56,15 @@ EventScript_AccessPokemonStorage:: @ 81A6A05
goto EventScript_PCMainMenu
end
EventScript_1A6A34:: @ 81A6A34
EventScript_AccessSomeonesPC:: @ 81A6A34
msgbox Text_AccessedSomeonesPC
return
EventScript_1A6A3D:: @ 81A6A3D
EventScript_AccessBillsPC:: @ 81A6A3D
msgbox Text_AccessedBillsPC
return
EventScript_1A6A46:: @ 81A6A46
EventScript_TurnOffPC:: @ 81A6A46
setvar VAR_0x8004, 0
playse SE_PC_OFF
special Special_AnimatePcTurnOff
@@ -72,8 +72,8 @@ EventScript_1A6A46:: @ 81A6A46
releaseall
end
EventScript_1A6A56:: @ 81A6A56
goto_if_unset FLAG_SYS_GAME_CLEAR, EventScript_1A6A46
EventScript_AccessHallOfFame:: @ 81A6A56
goto_if_unset FLAG_SYS_GAME_CLEAR, EventScript_TurnOffPC
playse SE_PC_LOGIN
setvar VAR_0x8004, 31
special HelpSystem_BackupSomeVariable
@@ -85,14 +85,14 @@ EventScript_1A6A56:: @ 81A6A56
end
EventScript_AccessProfOaksPC:: @ 81A6A7A
goto_if_unset FLAG_SYS_POKEDEX_GET, EventScript_1A6A46
goto_if_unset FLAG_SYS_POKEDEX_GET, EventScript_TurnOffPC
playse SE_PC_LOGIN
msgbox Text_AccessedProfOaksPC
msgbox Text_HavePokedexRated, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_ExitOaksPC
setflag FLAG_OAKS_RATING_IS_VIA_PC
call EventScript_1A73E0
call ProfOak_EventScript_RatePokedex
clearflag FLAG_OAKS_RATING_IS_VIA_PC
goto EventScript_ExitOaksPC
end
+3 -3
View File
@@ -45,7 +45,7 @@ EventScript_PkmnCenterNurse_CheckTrainerTowerAndUnionRoom:: @ 81A65EC
EventScript_PkmnCenterNurse_ReturnPkmn:: @ 81A661D
message Text_RestoredPkmnToFullHealth
waitmessage
applymovement VAR_LAST_TALKED, Movement_1A666C
applymovement VAR_LAST_TALKED, Movement_Bow
waitmovement 0
msgbox Text_WeHopeToSeeYouAgain
return
@@ -56,7 +56,7 @@ EventScript_PkmnCenterNurse_PlayerWaitingInUionRoom:: @ 81A6636
setflag FLAG_SYS_INFORMED_OF_LOCAL_WIRELESS_PLAYER
message Text_PlayerIsPlayingRightNowGoForIt
waitmessage
applymovement VAR_LAST_TALKED, Movement_1A666C
applymovement VAR_LAST_TALKED, Movement_Bow
waitmovement 0
msgbox Text_WeHopeToSeeYouAgain
return
@@ -65,7 +65,7 @@ EventScript_PkmnCenterNurse_Goodbye:: @ 81A6663
msgbox Text_WeHopeToSeeYouAgain
return
Movement_1A666C:: @ 81A666C
Movement_Bow:: @ 81A666C
nurse_joy_bow
delay_4
step_end
+38 -38
View File
@@ -1,42 +1,42 @@
EventScript_1A737B:: @ 81A737B
ProfOak_EventScript_RatePokedexInPerson:: @ 81A737B
special sub_8110AB4
compare VAR_RESULT, 2
goto_if_eq EventScript_1A7AE0
special sub_8112364
call_if_set FLAG_OAK_SAW_DEX_COMPLETION, EventScript_1A73A4
call_if_unset FLAG_OAK_SAW_DEX_COMPLETION, EventScript_1A73AD
call EventScript_1A73E0
call_if_set FLAG_OAK_SAW_DEX_COMPLETION, ProfOak_EventScript_DexCompleteIntro
call_if_unset FLAG_OAK_SAW_DEX_COMPLETION, ProfOak_EventScript_NormalIntro
call ProfOak_EventScript_RatePokedex
return
EventScript_1A73A4:: @ 81A73A4
msgbox Text_1A72F2
ProfOak_EventScript_DexCompleteIntro:: @ 81A73A4
msgbox Text_LoveSeeingYourPokedex
return
EventScript_1A73AD:: @ 81A73AD
msgbox gUnknown_81A6C51
ProfOak_EventScript_NormalIntro:: @ 81A73AD
msgbox Text_HowIsPokedexComingAlong
return
EventScript_1A73B6:: @ 81A73B6
ProfOak_EventScript_ShowRatingMsg:: @ 81A73B6
copyvar VAR_0x8004, VAR_0x8009
special Special_GetProfOaksRatingMessage
waitmessage
compare VAR_RESULT, 0
call_if_eq EventScript_1A73D8
compare VAR_RESULT, 1
call_if_eq EventScript_1A73DC
compare VAR_RESULT, FALSE
call_if_eq ProfOak_EventScript_RatingFanfare
compare VAR_RESULT, TRUE
call_if_eq ProfOak_EventScript_DexCompleteFanfare
waitfanfare
waitbuttonpress
return
EventScript_1A73D8:: @ 81A73D8
ProfOak_EventScript_RatingFanfare:: @ 81A73D8
playfanfare MUS_FAN2
return
EventScript_1A73DC:: @ 81A73DC
ProfOak_EventScript_DexCompleteFanfare:: @ 81A73DC
playfanfare MUS_FANFA5
return
EventScript_1A73E0:: @ 81A73E0
ProfOak_EventScript_RatePokedex:: @ 81A73E0
setvar VAR_0x8004, 31
special HelpSystem_BackupSomeVariable
special Special_SetSomeVariable
@@ -45,42 +45,42 @@ EventScript_1A73E0:: @ 81A73E0
copyvar VAR_0x8008, VAR_0x8005
copyvar VAR_0x8009, VAR_0x8006
copyvar VAR_0x800A, VAR_RESULT
getnumberstring 0, VAR_0x8008
getnumberstring 1, VAR_0x8009
msgbox Text_1A6CA3
call_if_unset FLAG_OAKS_RATING_IS_VIA_PC, EventScript_1A746D
call EventScript_1A73B6
compare VAR_0x800A, 0
goto_if_eq EventScript_1A748F
getnumberstring 0, VAR_0x8008 @ Num Kanto Seen
getnumberstring 1, VAR_0x8009 @ Num Kanto Caught
msgbox Text_YouveSeenXAndOwnedYMons
call_if_unset FLAG_OAKS_RATING_IS_VIA_PC, ProfOak_EventScript_SetTextColor
call ProfOak_EventScript_ShowRatingMsg
compare VAR_0x800A, FALSE
goto_if_eq ProfOak_EventScript_EndRatePokedex @ National Dex not enabled
setvar VAR_0x8004, 1
specialvar VAR_RESULT, Special_GetPokedexCount
copyvar VAR_0x8008, VAR_0x8005
copyvar VAR_0x8009, VAR_0x8006
getnumberstring 0, VAR_0x8008
getnumberstring 1, VAR_0x8009
msgbox Text_1A71AA
getnumberstring 0, VAR_0x8008 @ Num National Seen
getnumberstring 1, VAR_0x8009 @ Num National Caught
msgbox Text_AndNationalDexSeenXOwnedY
specialvar VAR_RESULT, HasAllMons
compare VAR_RESULT, 0
goto_if_eq EventScript_1A7470
compare VAR_RESULT, 1
goto_if_eq EventScript_1A747E
compare VAR_RESULT, FALSE
goto_if_eq ProfOak_EventScript_DexIncomplete
compare VAR_RESULT, TRUE
goto_if_eq ProfOak_EventScript_DexComplete
end
EventScript_1A746D:: @ 81A746D
ProfOak_EventScript_SetTextColor:: @ 81A746D
textcolor 0
return
EventScript_1A7470:: @ 81A7470
msgbox Text_1A71EE
goto EventScript_1A748F
ProfOak_EventScript_DexIncomplete:: @ 81A7470
msgbox Text_LookForwardToFilledNationalDex
goto ProfOak_EventScript_EndRatePokedex
end
EventScript_1A747E:: @ 81A747E
ProfOak_EventScript_DexComplete:: @ 81A747E
setflag FLAG_OAK_SAW_DEX_COMPLETION
msgbox Text_1A722F
goto EventScript_1A748F
msgbox Text_YouveCompletedDex
goto ProfOak_EventScript_EndRatePokedex
end
EventScript_1A748F:: @ 81A748F
ProfOak_EventScript_EndRatePokedex:: @ 81A748F
special HelpSystem_RestoreSomeVariable
return
+207
View File
@@ -0,0 +1,207 @@
EventScript_1A7AE2:: @ 81A7AE2
msgbox Text_177460, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1A7B70
msgbox Text_17747B
goto_if_set FLAG_POKEMON_MANSION_SWITCH_STATE, EventScript_1A7B3B
setflag FLAG_POKEMON_MANSION_SWITCH_STATE
switch VAR_0x8004
case 0, EventScript_1A7B7A
case 1, EventScript_1A7D3E
case 2, EventScript_1A7E72
case 3, EventScript_1A7F4C
end
EventScript_1A7B3B:: @ 81A7B3B
clearflag FLAG_POKEMON_MANSION_SWITCH_STATE
switch VAR_0x8004
case 0, EventScript_1A7C5C
case 1, EventScript_1A7DD8
case 2, EventScript_1A7EDF
case 3, EventScript_1A8025
end
EventScript_1A7B70:: @ 81A7B70
msgbox Text_177489
releaseall
end
EventScript_1A7B7A:: @ 81A7B7A
setmetatile 22, 10, 645, 0
setmetatile 23, 10, 644, 0
setmetatile 24, 10, 644, 0
setmetatile 22, 11, 645, 0
setmetatile 23, 11, 644, 0
setmetatile 24, 11, 644, 0
setmetatile 27, 25, 645, 0
setmetatile 28, 25, 644, 0
setmetatile 29, 25, 644, 0
setmetatile 27, 26, 645, 0
setmetatile 28, 26, 644, 0
setmetatile 29, 26, 644, 0
setmetatile 32, 25, 645, 0
setmetatile 33, 25, 644, 0
setmetatile 34, 25, 644, 0
setmetatile 32, 26, 645, 0
setmetatile 33, 26, 644, 0
setmetatile 34, 26, 644, 0
setmetatile 31, 18, 760, 1
setmetatile 32, 18, 761, 1
setmetatile 33, 18, 762, 1
setmetatile 31, 19, 768, 1
setmetatile 32, 19, 769, 1
setmetatile 33, 19, 770, 1
setmetatile 5, 4, 845, 0
return
EventScript_1A7C5C:: @ 81A7C5C
setmetatile 22, 10, 760, 1
setmetatile 23, 10, 761, 1
setmetatile 24, 10, 762, 1
setmetatile 22, 11, 768, 1
setmetatile 23, 11, 769, 1
setmetatile 24, 11, 770, 1
setmetatile 27, 25, 760, 1
setmetatile 28, 25, 761, 1
setmetatile 29, 25, 762, 1
setmetatile 27, 26, 768, 1
setmetatile 28, 26, 769, 1
setmetatile 29, 26, 770, 1
setmetatile 32, 25, 760, 1
setmetatile 33, 25, 761, 1
setmetatile 34, 25, 762, 1
setmetatile 32, 26, 768, 1
setmetatile 33, 26, 769, 1
setmetatile 34, 26, 770, 1
setmetatile 31, 18, 645, 0
setmetatile 32, 18, 644, 0
setmetatile 33, 18, 644, 0
setmetatile 31, 19, 645, 0
setmetatile 32, 19, 644, 0
setmetatile 33, 19, 644, 0
setmetatile 5, 4, 788, 0
return
EventScript_1A7D3E:: @ 81A7D3E
setmetatile 24, 14, 645, 0
setmetatile 25, 14, 644, 0
setmetatile 26, 14, 644, 0
setmetatile 24, 15, 645, 0
setmetatile 25, 15, 644, 0
setmetatile 26, 15, 644, 0
setmetatile 10, 28, 677, 1
setmetatile 10, 29, 685, 1
setmetatile 10, 30, 645, 0
setmetatile 10, 31, 644, 0
setmetatile 10, 32, 693, 0
setmetatile 12, 4, 848, 1
setmetatile 12, 5, 856, 1
setmetatile 12, 6, 864, 1
setmetatile 12, 7, 872, 1
setmetatile 12, 8, 880, 1
setmetatile 2, 15, 845, 0
return
EventScript_1A7DD8:: @ 81A7DD8
setmetatile 24, 14, 760, 1
setmetatile 25, 14, 761, 1
setmetatile 26, 14, 762, 1
setmetatile 24, 15, 768, 1
setmetatile 25, 15, 769, 1
setmetatile 26, 15, 770, 1
setmetatile 10, 28, 848, 1
setmetatile 10, 29, 856, 1
setmetatile 10, 30, 864, 1
setmetatile 10, 31, 872, 1
setmetatile 10, 32, 880, 1
setmetatile 12, 4, 677, 1
setmetatile 12, 5, 685, 1
setmetatile 12, 6, 645, 0
setmetatile 12, 7, 644, 0
setmetatile 12, 8, 693, 0
setmetatile 2, 15, 788, 0
return
EventScript_1A7E72:: @ 81A7E72
setmetatile 17, 11, 645, 0
setmetatile 18, 11, 644, 0
setmetatile 19, 11, 644, 0
setmetatile 17, 12, 645, 0
setmetatile 18, 12, 644, 0
setmetatile 19, 12, 644, 0
setmetatile 21, 4, 848, 1
setmetatile 21, 5, 856, 1
setmetatile 21, 6, 864, 1
setmetatile 21, 7, 872, 1
setmetatile 21, 8, 880, 1
setmetatile 12, 4, 845, 0
return
EventScript_1A7EDF:: @ 81A7EDF
setmetatile 17, 11, 760, 1
setmetatile 18, 11, 761, 1
setmetatile 19, 11, 762, 1
setmetatile 17, 12, 768, 1
setmetatile 18, 12, 769, 1
setmetatile 19, 12, 770, 1
setmetatile 21, 4, 677, 1
setmetatile 21, 5, 685, 1
setmetatile 21, 6, 645, 0
setmetatile 21, 7, 644, 0
setmetatile 21, 8, 693, 0
setmetatile 12, 4, 788, 0
return
EventScript_1A7F4C:: @ 81A7F4C
setmetatile 33, 20, 760, 1
setmetatile 34, 20, 761, 1
setmetatile 35, 20, 762, 1
setmetatile 33, 21, 852, 1
setmetatile 34, 21, 853, 1
setmetatile 35, 21, 854, 1
setmetatile 16, 26, 848, 1
setmetatile 16, 27, 856, 1
setmetatile 16, 28, 866, 1
setmetatile 16, 29, 874, 1
setmetatile 16, 30, 882, 1
setmetatile 12, 8, 677, 1
setmetatile 12, 9, 685, 1
setmetatile 12, 10, 647, 0
setmetatile 12, 11, 646, 0
setmetatile 12, 12, 688, 0
setmetatile 20, 22, 647, 0
setmetatile 21, 22, 646, 0
setmetatile 22, 22, 646, 0
setmetatile 20, 23, 647, 0
setmetatile 21, 23, 646, 0
setmetatile 22, 23, 646, 0
setmetatile 24, 28, 847, 0
setmetatile 27, 4, 847, 0
return
EventScript_1A8025:: @ 81A8025
setmetatile 33, 20, 647, 0
setmetatile 34, 20, 646, 0
setmetatile 35, 20, 646, 0
setmetatile 33, 21, 647, 0
setmetatile 34, 21, 646, 0
setmetatile 35, 21, 646, 0
setmetatile 16, 26, 677, 1
setmetatile 16, 27, 685, 1
setmetatile 16, 28, 647, 0
setmetatile 16, 29, 646, 0
setmetatile 16, 30, 688, 0
setmetatile 12, 8, 848, 1
setmetatile 12, 9, 856, 1
setmetatile 12, 10, 866, 1
setmetatile 12, 11, 874, 1
setmetatile 12, 12, 882, 1
setmetatile 20, 22, 760, 1
setmetatile 21, 22, 761, 1
setmetatile 22, 22, 762, 1
setmetatile 20, 23, 852, 1
setmetatile 21, 23, 853, 1
setmetatile 22, 23, 854, 1
setmetatile 24, 28, 790, 0
setmetatile 27, 4, 790, 0
return
+2 -2
View File
@@ -1,6 +1,6 @@
EventScript_RepelWoreOff:: @ 81BFB65
msgbox Text_1BFB6E, MSGBOX_SIGN
msgbox Text_RepelWoreOff, MSGBOX_SIGN
end
Text_1BFB6E:: @ 81BFB6E
Text_RepelWoreOff:: @ 81BFB6E
.string "REPEL's effect wore off…$"
+6 -6
View File
@@ -1,23 +1,23 @@
EventScript_1A922D:: @ 81A922D
EventScript_RemoveStaticMon:: @ 81A922D
fadescreen FADE_TO_BLACK
removeobject VAR_LAST_TALKED
fadescreen FADE_FROM_BLACK
release
end
EventScript_1A9236:: @ 81A9236
EventScript_MonFlewAway:: @ 81A9236
fadescreen FADE_TO_BLACK
removeobject VAR_LAST_TALKED
fadescreen FADE_FROM_BLACK
getspeciesname 0, VAR_0x8004
msgbox Text_1A63C4
msgbox Text_MonFlewAway
release
end
EventScript_1A924B:: @ 81A924B
message Text_1853E8
EventScript_AwakenSnorlax:: @ 81A924B
message Text_PlayedPokeFlute
waitmessage
playfanfare MUS_POKEFUE
waitfanfare
msgbox Text_185354
msgbox Text_SnorlaxWokeUp
return
+7 -7
View File
@@ -30,34 +30,34 @@ Std_MsgboxYesNo:: @ 81A4E5C
Std_ReceivedItem:: @ 81A4E66
textcolor 3
compare VAR_0x8002, MUS_FANFA1
call_if_eq EventScript_1A4EA2
call_if_eq EventScript_ReceivedItemFanfare1
compare VAR_0x8002, MUS_FAN5
call_if_eq EventScript_1A4EA6
call_if_eq EventScript_ReceivedItemFanfare2
message 0x0
waitmessage
waitfanfare
compare VAR_0x8002, MUS_FANFA1
call_if_eq EventScript_1A4EAA
call_if_eq EventScript_ReceivedItemWaitFanfare
putitemaway VAR_0x8000, VAR_0x8001
call EventScript_1A6675
return
EventScript_1A4EA2:: @ 81A4EA2
EventScript_ReceivedItemFanfare1:: @ 81A4EA2
playfanfare MUS_FANFA1
return
EventScript_1A4EA6:: @ 81A4EA6
EventScript_ReceivedItemFanfare2:: @ 81A4EA6
playfanfare MUS_FAN5
return
EventScript_1A4EAA:: @ 81A4EAA
EventScript_ReceivedItemWaitFanfare:: @ 81A4EAA
delay 50
return
EventScript_UnusedReturn:: @ 81A4EAE
return
EventScript_1A4EAF:: @ 81A4EAF
EventScript_AskSaveGame:: @ 81A4EAF
special Field_AskSaveTheGame
waitstate
return
+3 -3
View File
@@ -8,17 +8,17 @@ EventScript_UseSurf:: @ 81A6AC8
getpartymonname 0, VAR_RESULT
setfieldeffectarg 0, VAR_RESULT
lockall
msgbox Text_1A556E, MSGBOX_YESNO
msgbox Text_WantToSurf, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_UseSurfRelease
msgbox Text_1A55A5
msgbox Text_UsedSurf
dofieldeffect FLDEFF_USE_SURF
EventScript_UseSurfRelease:@ 81A6B0B
releaseall
EventScript_UseSurfEnd: @ 81A6B0C
end
gUnknown_81A6B0D:: @ 81A6B0D
EventScript_CurrentTooFast:: @ 81A6B0D
lockall
msgbox Text_CurrentTooFast
releaseall