Document rest of Petalburg scripts

This commit is contained in:
Marcus Huderle
2019-10-20 12:27:23 -05:00
committed by huderlem
parent 41e952a668
commit 04ea8eea5a
13 changed files with 293 additions and 293 deletions
+2 -2
View File
@@ -24,7 +24,7 @@
"movement_range_y": 2, "movement_range_y": 2,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_House1_EventScript_2077A3", "script": "PetalburgCity_House1_EventScript_Woman",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_House1_EventScript_20779A", "script": "PetalburgCity_House1_EventScript_Man",
"flag": "0" "flag": "0"
} }
], ],
+6 -6
View File
@@ -1,20 +1,20 @@
PetalburgCity_House1_MapScripts:: @ 8207799 PetalburgCity_House1_MapScripts:: @ 8207799
.byte 0 .byte 0
PetalburgCity_House1_EventScript_20779A:: @ 820779A PetalburgCity_House1_EventScript_Man:: @ 820779A
msgbox PetalburgCity_House1_Text_2077AC, MSGBOX_NPC msgbox PetalburgCity_House1_Text_TravelingIsWonderful, MSGBOX_NPC
end end
PetalburgCity_House1_EventScript_2077A3:: @ 82077A3 PetalburgCity_House1_EventScript_Woman:: @ 82077A3
msgbox PetalburgCity_House1_Text_2077FB, MSGBOX_NPC msgbox PetalburgCity_House1_Text_GoOnAdventure, MSGBOX_NPC
end end
PetalburgCity_House1_Text_2077AC: @ 82077AC PetalburgCity_House1_Text_TravelingIsWonderful: @ 82077AC
.string "Traveling is wonderful!\p" .string "Traveling is wonderful!\p"
.string "When I was young, I roamed the seas\n" .string "When I was young, I roamed the seas\n"
.string "and the mountains!$" .string "and the mountains!$"
PetalburgCity_House1_Text_2077FB: @ 82077FB PetalburgCity_House1_Text_GoOnAdventure: @ 82077FB
.string "Sigh…\p" .string "Sigh…\p"
.string "I wish I could go on an adventure\n" .string "I wish I could go on an adventure\n"
.string "with some POKéMON…\p" .string "with some POKéMON…\p"
+2 -2
View File
@@ -24,7 +24,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_House2_EventScript_2078F3", "script": "PetalburgCity_House2_EventScript_Woman",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_House2_EventScript_2078FC", "script": "PetalburgCity_House2_EventScript_SchoolKid",
"flag": "0" "flag": "0"
} }
], ],
+6 -6
View File
@@ -1,21 +1,21 @@
PetalburgCity_House2_MapScripts:: @ 82078F2 PetalburgCity_House2_MapScripts:: @ 82078F2
.byte 0 .byte 0
PetalburgCity_House2_EventScript_2078F3:: @ 82078F3 PetalburgCity_House2_EventScript_Woman:: @ 82078F3
msgbox PetalburgCity_House2_Text_207905, MSGBOX_NPC msgbox PetalburgCity_House2_Text_NormanBecameGymLeader, MSGBOX_NPC
end end
PetalburgCity_House2_EventScript_2078FC:: @ 82078FC PetalburgCity_House2_EventScript_SchoolKid:: @ 82078FC
msgbox PetalburgCity_House2_Text_207969, MSGBOX_NPC msgbox PetalburgCity_House2_Text_BattledNormanOnce, MSGBOX_NPC
end end
PetalburgCity_House2_Text_207905: @ 8207905 PetalburgCity_House2_Text_NormanBecameGymLeader: @ 8207905
.string "NORMAN became our town's new\n" .string "NORMAN became our town's new\n"
.string "GYM LEADER.\p" .string "GYM LEADER.\p"
.string "I think he called his family over from\n" .string "I think he called his family over from\n"
.string "somewhere far away.$" .string "somewhere far away.$"
PetalburgCity_House2_Text_207969: @ 8207969 PetalburgCity_House2_Text_BattledNormanOnce: @ 8207969
.string "I battled NORMAN once, but, whew,\n" .string "I battled NORMAN once, but, whew,\n"
.string "he was way too strong.\p" .string "he was way too strong.\p"
.string "How would I put it?\p" .string "How would I put it?\p"
+4 -4
View File
@@ -24,7 +24,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Mart_EventScript_207D69", "script": "PetalburgCity_Mart_EventScript_Clerk",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Mart_EventScript_207DE8", "script": "PetalburgCity_Mart_EventScript_Man",
"flag": "0" "flag": "0"
}, },
{ {
@@ -50,7 +50,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Mart_EventScript_207DDF", "script": "PetalburgCity_Mart_EventScript_Boy",
"flag": "0" "flag": "0"
}, },
{ {
@@ -63,7 +63,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Mart_EventScript_207DD6", "script": "PetalburgCity_Mart_EventScript_Woman",
"flag": "0" "flag": "0"
} }
], ],
+16 -16
View File
@@ -1,19 +1,19 @@
PetalburgCity_Mart_MapScripts:: @ 8207D68 PetalburgCity_Mart_MapScripts:: @ 8207D68
.byte 0 .byte 0
PetalburgCity_Mart_EventScript_207D69:: @ 8207D69 PetalburgCity_Mart_EventScript_Clerk:: @ 8207D69
lock lock
faceplayer faceplayer
message gText_HowMayIServeYou message gText_HowMayIServeYou
waitmessage waitmessage
goto_if_set FLAG_PETALBURG_MART_EXPANDED_ITEMS, PetalburgCity_Mart_EventScript_207DA6 goto_if_set FLAG_PETALBURG_MART_EXPANDED_ITEMS, PetalburgCity_Mart_EventScript_ExpandedItems
pokemart PetalburgCity_Mart_Pokemart_207D8C pokemart PetalburgCity_Mart_Pokemart_Basic
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release release
end end
.align 2 .align 2
PetalburgCity_Mart_Pokemart_207D8C: @ 8207D8C PetalburgCity_Mart_Pokemart_Basic: @ 8207D8C
.2byte ITEM_POKE_BALL .2byte ITEM_POKE_BALL
.2byte ITEM_POTION .2byte ITEM_POTION
.2byte ITEM_ANTIDOTE .2byte ITEM_ANTIDOTE
@@ -29,14 +29,14 @@ PetalburgCity_Mart_Pokemart_207D8C: @ 8207D8C
release release
end end
PetalburgCity_Mart_EventScript_207DA6:: @ 8207DA6 PetalburgCity_Mart_EventScript_ExpandedItems:: @ 8207DA6
pokemart PetalburgCity_Mart_Pokemart_207DB8 pokemart PetalburgCity_Mart_Pokemart_Expanded
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release release
end end
.align 2 .align 2
PetalburgCity_Mart_Pokemart_207DB8: @ 8207DB8 PetalburgCity_Mart_Pokemart_Expanded: @ 8207DB8
.2byte ITEM_POKE_BALL .2byte ITEM_POKE_BALL
.2byte ITEM_GREAT_BALL .2byte ITEM_GREAT_BALL
.2byte ITEM_POTION .2byte ITEM_POTION
@@ -54,30 +54,30 @@ PetalburgCity_Mart_Pokemart_207DB8: @ 8207DB8
release release
end end
PetalburgCity_Mart_EventScript_207DD6:: @ 8207DD6 PetalburgCity_Mart_EventScript_Woman:: @ 8207DD6
msgbox PetalburgCity_Mart_Text_207DF1, MSGBOX_NPC msgbox PetalburgCity_Mart_Text_WeakWillGrowStronger, MSGBOX_NPC
end end
PetalburgCity_Mart_EventScript_207DDF:: @ 8207DDF PetalburgCity_Mart_EventScript_Boy:: @ 8207DDF
msgbox PetalburgCity_Mart_Text_207E60, MSGBOX_NPC msgbox PetalburgCity_Mart_Text_RepelIsUseful, MSGBOX_NPC
end end
PetalburgCity_Mart_EventScript_207DE8:: @ 8207DE8 PetalburgCity_Mart_EventScript_Man:: @ 8207DE8
msgbox PetalburgCity_Mart_Text_207EB0, MSGBOX_NPC msgbox PetalburgCity_Mart_Text_TakeSomeAntidotesWithYou, MSGBOX_NPC
end end
PetalburgCity_Mart_Text_207DF1: @ 8207DF1 PetalburgCity_Mart_Text_WeakWillGrowStronger: @ 8207DF1
.string "Even if a POKéMON is weak now,\n" .string "Even if a POKéMON is weak now,\n"
.string "it will grow stronger.\p" .string "it will grow stronger.\p"
.string "The most important thing is love!\n" .string "The most important thing is love!\n"
.string "Love for your POKéMON!$" .string "Love for your POKéMON!$"
PetalburgCity_Mart_Text_207E60: @ 8207E60 PetalburgCity_Mart_Text_RepelIsUseful: @ 8207E60
.string "Do you use REPEL?\n" .string "Do you use REPEL?\n"
.string "It keeps POKéMON away, so it's\l" .string "It keeps POKéMON away, so it's\l"
.string "useful when you're in a hurry.$" .string "useful when you're in a hurry.$"
PetalburgCity_Mart_Text_207EB0: @ 8207EB0 PetalburgCity_Mart_Text_TakeSomeAntidotesWithYou: @ 8207EB0
.string "Do you have any ANTIDOTES with\n" .string "Do you have any ANTIDOTES with\n"
.string "you?\p" .string "you?\p"
.string "If you walk around with a poisoned\n" .string "If you walk around with a poisoned\n"
@@ -24,7 +24,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_PokemonCenter_1F_EventScript_2079FC", "script": "PetalburgCity_PokemonCenter_1F_EventScript_Nurse",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_PokemonCenter_1F_EventScript_291539", "script": "MysteryEventClub_EventScript_Man",
"flag": "0" "flag": "0"
}, },
{ {
@@ -50,7 +50,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_PokemonCenter_1F_EventScript_207A0A", "script": "PetalburgCity_PokemonCenter_1F_EventScript_FatMan",
"flag": "0" "flag": "0"
}, },
{ {
@@ -63,7 +63,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_PokemonCenter_1F_EventScript_207A13", "script": "PetalburgCity_PokemonCenter_1F_EventScript_Youngster",
"flag": "0" "flag": "0"
}, },
{ {
@@ -76,7 +76,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_PokemonCenter_1F_EventScript_207A1C", "script": "PetalburgCity_PokemonCenter_1F_EventScript_Woman",
"flag": "0" "flag": "0"
} }
], ],
@@ -8,7 +8,7 @@ PetalburgCity_PokemonCenter_1F_OnTransition: @ 82079F3
call Common_EventScript_UpdateBrineyLocation call Common_EventScript_UpdateBrineyLocation
end end
PetalburgCity_PokemonCenter_1F_EventScript_2079FC:: @ 82079FC PetalburgCity_PokemonCenter_1F_EventScript_Nurse:: @ 82079FC
setvar VAR_0x800B, 1 setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse call Common_EventScript_PkmnCenterNurse
waitmessage waitmessage
@@ -16,64 +16,64 @@ PetalburgCity_PokemonCenter_1F_EventScript_2079FC:: @ 82079FC
release release
end end
PetalburgCity_PokemonCenter_1F_EventScript_207A0A:: @ 8207A0A PetalburgCity_PokemonCenter_1F_EventScript_FatMan:: @ 8207A0A
msgbox PetalburgCity_PokemonCenter_1F_Text_207A76, MSGBOX_NPC msgbox PetalburgCity_PokemonCenter_1F_Text_PCStorageSystem, MSGBOX_NPC
end end
PetalburgCity_PokemonCenter_1F_EventScript_207A13:: @ 8207A13 PetalburgCity_PokemonCenter_1F_EventScript_Youngster:: @ 8207A13
msgbox PetalburgCity_PokemonCenter_1F_Text_207AD6, MSGBOX_NPC msgbox PetalburgCity_PokemonCenter_1F_Text_OranBerryRegainedHP, MSGBOX_NPC
end end
PetalburgCity_PokemonCenter_1F_EventScript_207A1C:: @ 8207A1C PetalburgCity_PokemonCenter_1F_EventScript_Woman:: @ 8207A1C
lock lock
faceplayer faceplayer
msgbox PetalburgCity_PokemonCenter_1F_Text_207B09, MSGBOX_DEFAULT msgbox PetalburgCity_PokemonCenter_1F_Text_ManyTypesOfPokemon, MSGBOX_DEFAULT
specialvar VAR_RESULT, IsStarterInParty specialvar VAR_RESULT, IsStarterInParty
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq PetalburgCity_PokemonCenter_1F_EventScript_207A38 goto_if_eq PetalburgCity_PokemonCenter_1F_EventScript_SayStarterTypeInfo
release release
end end
PetalburgCity_PokemonCenter_1F_EventScript_207A38:: @ 8207A38 PetalburgCity_PokemonCenter_1F_EventScript_SayStarterTypeInfo:: @ 8207A38
compare VAR_STARTER_MON, 0 compare VAR_STARTER_MON, 0
call_if_eq PetalburgCity_PokemonCenter_1F_EventScript_207A5B call_if_eq PetalburgCity_PokemonCenter_1F_EventScript_SayTreeckoType
compare VAR_STARTER_MON, 1 compare VAR_STARTER_MON, 1
call_if_eq PetalburgCity_PokemonCenter_1F_EventScript_207A64 call_if_eq PetalburgCity_PokemonCenter_1F_EventScript_SayTorchicType
compare VAR_STARTER_MON, 2 compare VAR_STARTER_MON, 2
call_if_eq PetalburgCity_PokemonCenter_1F_EventScript_207A6D call_if_eq PetalburgCity_PokemonCenter_1F_EventScript_SayMudkipType
release release
end end
PetalburgCity_PokemonCenter_1F_EventScript_207A5B:: @ 8207A5B PetalburgCity_PokemonCenter_1F_EventScript_SayTreeckoType:: @ 8207A5B
msgbox PetalburgCity_PokemonCenter_1F_Text_207BB0, MSGBOX_DEFAULT msgbox PetalburgCity_PokemonCenter_1F_Text_TreeckoIsGrassType, MSGBOX_DEFAULT
return return
PetalburgCity_PokemonCenter_1F_EventScript_207A64:: @ 8207A64 PetalburgCity_PokemonCenter_1F_EventScript_SayTorchicType:: @ 8207A64
msgbox PetalburgCity_PokemonCenter_1F_Text_207C35, MSGBOX_DEFAULT msgbox PetalburgCity_PokemonCenter_1F_Text_TorchicIsFireType, MSGBOX_DEFAULT
return return
PetalburgCity_PokemonCenter_1F_EventScript_207A6D:: @ 8207A6D PetalburgCity_PokemonCenter_1F_EventScript_SayMudkipType:: @ 8207A6D
msgbox PetalburgCity_PokemonCenter_1F_Text_207CB7, MSGBOX_DEFAULT msgbox PetalburgCity_PokemonCenter_1F_Text_MudkipIsWaterType, MSGBOX_DEFAULT
return return
PetalburgCity_PokemonCenter_1F_Text_207A76: @ 8207A76 PetalburgCity_PokemonCenter_1F_Text_PCStorageSystem: @ 8207A76
.string "That PC-based POKéMON Storage\n" .string "That PC-based POKéMON Storage\n"
.string "System…\p" .string "System…\p"
.string "Whoever made it must be some kind\n" .string "Whoever made it must be some kind\n"
.string "of a scientific wizard!$" .string "of a scientific wizard!$"
PetalburgCity_PokemonCenter_1F_Text_207AD6: @ 8207AD6 PetalburgCity_PokemonCenter_1F_Text_OranBerryRegainedHP: @ 8207AD6
.string "When my POKéMON ate an\n" .string "When my POKéMON ate an\n"
.string "ORAN BERRY, it regained HP!$" .string "ORAN BERRY, it regained HP!$"
PetalburgCity_PokemonCenter_1F_Text_207B09: @ 8207B09 PetalburgCity_PokemonCenter_1F_Text_ManyTypesOfPokemon: @ 8207B09
.string "There are many types of POKéMON.\p" .string "There are many types of POKéMON.\p"
.string "All types have their strengths and\n" .string "All types have their strengths and\n"
.string "weaknesses against other types.\p" .string "weaknesses against other types.\p"
.string "Depending on the types of POKéMON,\n" .string "Depending on the types of POKéMON,\n"
.string "a battle could be easy or hard.$" .string "a battle could be easy or hard.$"
PetalburgCity_PokemonCenter_1F_Text_207BB0: @ 8207BB0 PetalburgCity_PokemonCenter_1F_Text_TreeckoIsGrassType: @ 8207BB0
.string "For example, your TREECKO\n" .string "For example, your TREECKO\n"
.string "is a GRASS type.\p" .string "is a GRASS type.\p"
.string "It's strong against the WATER and\n" .string "It's strong against the WATER and\n"
@@ -81,7 +81,7 @@ PetalburgCity_PokemonCenter_1F_Text_207BB0: @ 8207BB0
.string "But, it's weak against FIRE-type\n" .string "But, it's weak against FIRE-type\n"
.string "POKéMON.$" .string "POKéMON.$"
PetalburgCity_PokemonCenter_1F_Text_207C35: @ 8207C35 PetalburgCity_PokemonCenter_1F_Text_TorchicIsFireType: @ 8207C35
.string "For example, your TORCHIC\n" .string "For example, your TORCHIC\n"
.string "is a FIRE type.\p" .string "is a FIRE type.\p"
.string "It's strong against the GRASS and\n" .string "It's strong against the GRASS and\n"
@@ -89,7 +89,7 @@ PetalburgCity_PokemonCenter_1F_Text_207C35: @ 8207C35
.string "But, it's weak against WATER-type\n" .string "But, it's weak against WATER-type\n"
.string "POKéMON.$" .string "POKéMON.$"
PetalburgCity_PokemonCenter_1F_Text_207CB7: @ 8207CB7 PetalburgCity_PokemonCenter_1F_Text_MudkipIsWaterType: @ 8207CB7
.string "For example, your MUDKIP\n" .string "For example, your MUDKIP\n"
.string "is a WATER type.\p" .string "is a WATER type.\p"
.string "It's strong against the FIRE type.\p" .string "It's strong against the FIRE type.\p"
+2 -2
View File
@@ -24,7 +24,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_WallysHouse_EventScript_204278", "script": "PetalburgCity_WallysHouse_EventScript_WallyUncle",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_WallysHouse_EventScript_2042C0", "script": "PetalburgCity_WallysHouse_EventScript_WallyAunt",
"flag": "0" "flag": "0"
} }
], ],
+34 -34
View File
@@ -1,71 +1,71 @@
PetalburgCity_WallysHouse_MapScripts:: @ 8204229 PetalburgCity_WallysHouse_MapScripts:: @ 8204229
map_script MAP_SCRIPT_ON_FRAME_TABLE, PetalburgCity_WallysHouse_MapScript2_204247 map_script MAP_SCRIPT_ON_FRAME_TABLE, PetalburgCity_WallysHouse_MapScript2_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, PetalburgCity_WallysHouse_MapScript2_204234 map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, PetalburgCity_WallysHouse_MapScript2_OnWarp
.byte 0 .byte 0
PetalburgCity_WallysHouse_MapScript2_204234: @ 8204234 PetalburgCity_WallysHouse_MapScript2_OnWarp: @ 8204234
map_script_2 VAR_PETALBURG_CITY_STATE, 4, PetalburgCity_WallysHouse_EventScript_20423E map_script_2 VAR_PETALBURG_CITY_STATE, 4, PetalburgCity_WallysHouse_EventScript_PlayerUncleFaceEachOther
.2byte 0 .2byte 0
PetalburgCity_WallysHouse_EventScript_20423E:: @ 820423E PetalburgCity_WallysHouse_EventScript_PlayerUncleFaceEachOther:: @ 820423E
turnobject EVENT_OBJ_ID_PLAYER, DIR_EAST turnobject EVENT_OBJ_ID_PLAYER, DIR_EAST
turnobject 1, DIR_WEST turnobject 1, DIR_WEST
end end
PetalburgCity_WallysHouse_MapScript2_204247: @ 8204247 PetalburgCity_WallysHouse_MapScript2_OnFrame: @ 8204247
map_script_2 VAR_PETALBURG_CITY_STATE, 4, PetalburgCity_WallysHouse_EventScript_204251 map_script_2 VAR_PETALBURG_CITY_STATE, 4, PetalburgCity_WallysHouse_EventScript_GiveHM03Surf
.2byte 0 .2byte 0
PetalburgCity_WallysHouse_EventScript_204251:: @ 8204251 PetalburgCity_WallysHouse_EventScript_GiveHM03Surf:: @ 8204251
lockall lockall
msgbox PetalburgCity_WallysHouse_Text_20446E, MSGBOX_DEFAULT msgbox PetalburgCity_WallysHouse_Text_PleaseExcuseUs, MSGBOX_DEFAULT
giveitem_std ITEM_HM03 giveitem_std ITEM_HM03
setflag FLAG_RECEIVED_HM03 setflag FLAG_RECEIVED_HM03
msgbox PetalburgCity_WallysHouse_Text_20461A, MSGBOX_DEFAULT msgbox PetalburgCity_WallysHouse_Text_SurfGoAllSortsOfPlaces, MSGBOX_DEFAULT
setvar VAR_PETALBURG_CITY_STATE, 5 setvar VAR_PETALBURG_CITY_STATE, 5
releaseall releaseall
end end
PetalburgCity_WallysHouse_EventScript_204278:: @ 8204278 PetalburgCity_WallysHouse_EventScript_WallyUncle:: @ 8204278
lock lock
faceplayer faceplayer
goto_if_set FLAG_DEFEATED_WALLY_VICTORY_ROAD, PetalburgCity_WallysHouse_EventScript_2042AC goto_if_set FLAG_DEFEATED_WALLY_VICTORY_ROAD, PetalburgCity_WallysHouse_EventScript_DefeatedWallyInVictoryRoad
goto_if_set FLAG_RECEIVED_HM03, PetalburgCity_WallysHouse_EventScript_2042A2 goto_if_set FLAG_RECEIVED_HM03, PetalburgCity_WallysHouse_EventScript_ReceievedHM03Surf
goto_if_set FLAG_THANKED_FOR_PLAYING_WITH_WALLY, PetalburgCity_WallysHouse_EventScript_2042B6 goto_if_set FLAG_THANKED_FOR_PLAYING_WITH_WALLY, PetalburgCity_WallysHouse_EventScript_PlayedWithWally
msgbox PetalburgCity_WallysHouse_Text_2042DF, MSGBOX_DEFAULT msgbox PetalburgCity_WallysHouse_Text_ThanksForPlayingWithWally, MSGBOX_DEFAULT
setflag FLAG_THANKED_FOR_PLAYING_WITH_WALLY setflag FLAG_THANKED_FOR_PLAYING_WITH_WALLY
release release
end end
PetalburgCity_WallysHouse_EventScript_2042A2:: @ 82042A2 PetalburgCity_WallysHouse_EventScript_ReceievedHM03Surf:: @ 82042A2
msgbox PetalburgCity_WallysHouse_Text_204661, MSGBOX_DEFAULT msgbox PetalburgCity_WallysHouse_Text_WallyIsComingHomeSoon, MSGBOX_DEFAULT
release release
end end
PetalburgCity_WallysHouse_EventScript_2042AC:: @ 82042AC PetalburgCity_WallysHouse_EventScript_DefeatedWallyInVictoryRoad:: @ 82042AC
msgbox PetalburgCity_WallysHouse_Text_204698, MSGBOX_DEFAULT msgbox PetalburgCity_WallysHouse_Text_YouMetWallyInEverGrandeCity, MSGBOX_DEFAULT
release release
end end
PetalburgCity_WallysHouse_EventScript_2042B6:: @ 82042B6 PetalburgCity_WallysHouse_EventScript_PlayedWithWally:: @ 82042B6
msgbox PetalburgCity_WallysHouse_Text_20444D, MSGBOX_DEFAULT msgbox PetalburgCity_WallysHouse_Text_WonderHowWallyIsDoing, MSGBOX_DEFAULT
release release
end end
PetalburgCity_WallysHouse_EventScript_2042C0:: @ 82042C0 PetalburgCity_WallysHouse_EventScript_WallyAunt:: @ 82042C0
lock lock
faceplayer faceplayer
goto_if_set FLAG_RECEIVED_HM03, PetalburgCity_WallysHouse_EventScript_2042D5 goto_if_set FLAG_RECEIVED_HM03, PetalburgCity_WallysHouse_EventScript_ReceivedHM03Surf
msgbox PetalburgCity_WallysHouse_Text_204732, MSGBOX_DEFAULT msgbox PetalburgCity_WallysHouse_Text_WallyWasReallyHappy, MSGBOX_DEFAULT
release release
end end
PetalburgCity_WallysHouse_EventScript_2042D5:: @ 82042D5 PetalburgCity_WallysHouse_EventScript_ReceivedHM03Surf:: @ 82042D5
msgbox PetalburgCity_WallysHouse_Text_2047A7, MSGBOX_DEFAULT msgbox PetalburgCity_WallysHouse_Text_WallyLeftWithoutTelling, MSGBOX_DEFAULT
release release
end end
PetalburgCity_WallysHouse_Text_2042DF: @ 82042DF PetalburgCity_WallysHouse_Text_ThanksForPlayingWithWally: @ 82042DF
.string "You're…\n" .string "You're…\n"
.string "Ah, you must be {PLAYER}{KUN}, right?\p" .string "Ah, you must be {PLAYER}{KUN}, right?\p"
.string "Thank you for playing with WALLY a\n" .string "Thank you for playing with WALLY a\n"
@@ -81,10 +81,10 @@ PetalburgCity_WallysHouse_Text_2042DF: @ 82042DF
.string "I wonder where he could have\n" .string "I wonder where he could have\n"
.string "gotten by now?$" .string "gotten by now?$"
PetalburgCity_WallysHouse_Text_20444D: @ 820444D PetalburgCity_WallysHouse_Text_WonderHowWallyIsDoing: @ 820444D
.string "I wonder how our WALLY is doing?$" .string "I wonder how our WALLY is doing?$"
PetalburgCity_WallysHouse_Text_20446E: @ 820446E PetalburgCity_WallysHouse_Text_PleaseExcuseUs: @ 820446E
.string "{PLAYER}{KUN}! Please excuse us for\n" .string "{PLAYER}{KUN}! Please excuse us for\n"
.string "dragging you here this way.\p" .string "dragging you here this way.\p"
.string "But our WALLY's become very healthy\n" .string "But our WALLY's become very healthy\n"
@@ -101,15 +101,15 @@ PetalburgCity_WallysHouse_Text_20446E: @ 820446E
.string "This isn't a bribe or anything, but\n" .string "This isn't a bribe or anything, but\n"
.string "I'd really like you to have this.$" .string "I'd really like you to have this.$"
PetalburgCity_WallysHouse_Text_20461A: @ 820461A PetalburgCity_WallysHouse_Text_SurfGoAllSortsOfPlaces: @ 820461A
.string "If your POKéMON can SURF, you'll be\n" .string "If your POKéMON can SURF, you'll be\n"
.string "able to go to all sorts of places.$" .string "able to go to all sorts of places.$"
PetalburgCity_WallysHouse_Text_204661: @ 8204661 PetalburgCity_WallysHouse_Text_WallyIsComingHomeSoon: @ 8204661
.string "WALLY's coming home soon.\n" .string "WALLY's coming home soon.\n"
.string "I'm looking forward to that.$" .string "I'm looking forward to that.$"
PetalburgCity_WallysHouse_Text_204698: @ 8204698 PetalburgCity_WallysHouse_Text_YouMetWallyInEverGrandeCity: @ 8204698
.string "Oh? You met WALLY in\n" .string "Oh? You met WALLY in\n"
.string "EVER GRANDE CITY?\p" .string "EVER GRANDE CITY?\p"
.string "Oh, {PLAYER}{KUN}, don't be silly.\p" .string "Oh, {PLAYER}{KUN}, don't be silly.\p"
@@ -117,13 +117,13 @@ PetalburgCity_WallysHouse_Text_204698: @ 8204698
.string "can't go somewhere far away like\l" .string "can't go somewhere far away like\l"
.string "that all by himself.$" .string "that all by himself.$"
PetalburgCity_WallysHouse_Text_204732: @ 8204732 PetalburgCity_WallysHouse_Text_WallyWasReallyHappy: @ 8204732
.string "WALLY was really happy when he told\n" .string "WALLY was really happy when he told\n"
.string "us that he caught a POKéMON.\p" .string "us that he caught a POKéMON.\p"
.string "It's been ages since I've seen him\n" .string "It's been ages since I've seen him\n"
.string "smile like that.$" .string "smile like that.$"
PetalburgCity_WallysHouse_Text_2047A7: @ 82047A7 PetalburgCity_WallysHouse_Text_WallyLeftWithoutTelling: @ 82047A7
.string "I want you to keep this a secret\n" .string "I want you to keep this a secret\n"
.string "from my husband…\p" .string "from my husband…\p"
.string "But our WALLY left VERDANTURF TOWN\n" .string "But our WALLY left VERDANTURF TOWN\n"
+9 -9
View File
@@ -115,7 +115,7 @@
"movement_range_y": 2, "movement_range_y": 2,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgWoods_EventScript_22E210", "script": "PetalburgWoods_EventScript_Boy1",
"flag": "0" "flag": "0"
}, },
{ {
@@ -128,7 +128,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "PetalburgWoods_EventScript_22E26D", "script": "PetalburgWoods_EventScript_Lyle",
"flag": "0" "flag": "0"
}, },
{ {
@@ -141,7 +141,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "PetalburgWoods_EventScript_22E284", "script": "PetalburgWoods_EventScript_James",
"flag": "0" "flag": "0"
}, },
{ {
@@ -154,7 +154,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgWoods_EventScript_22E219", "script": "PetalburgWoods_EventScript_Boy2",
"flag": "0" "flag": "0"
}, },
{ {
@@ -180,7 +180,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgWoods_EventScript_22E222", "script": "PetalburgWoods_EventScript_Girl",
"flag": "0" "flag": "0"
} }
], ],
@@ -236,7 +236,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_PETALBURG_WOODS_STATE", "var": "VAR_PETALBURG_WOODS_STATE",
"var_value": "0", "var_value": "0",
"script": "PetalburgWoods_EventScript_22DFD7" "script": "PetalburgWoods_EventScript_DevonResearcherLeft"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -245,7 +245,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_PETALBURG_WOODS_STATE", "var": "VAR_PETALBURG_WOODS_STATE",
"var_value": "0", "var_value": "0",
"script": "PetalburgWoods_EventScript_22E079" "script": "PetalburgWoods_EventScript_DevonResearcherRight"
} }
], ],
"bg_events": [ "bg_events": [
@@ -255,7 +255,7 @@
"y": 32, "y": 32,
"elevation": 3, "elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "PetalburgWoods_EventScript_22E25B" "script": "PetalburgWoods_EventScript_Sign1"
}, },
{ {
"type": "hidden_item", "type": "hidden_item",
@@ -295,7 +295,7 @@
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "PetalburgWoods_EventScript_22E264" "script": "PetalburgWoods_EventScript_Sign2"
} }
] ]
} }
+129 -129
View File
@@ -1,119 +1,119 @@
PetalburgWoods_MapScripts:: @ 822DFD6 PetalburgWoods_MapScripts:: @ 822DFD6
.byte 0 .byte 0
PetalburgWoods_EventScript_22DFD7:: @ 822DFD7 PetalburgWoods_EventScript_DevonResearcherLeft:: @ 822DFD7
lockall lockall
call PetalburgWoods_EventScript_22E124 call PetalburgWoods_EventScript_DevonResearcherIntro
applymovement 4, PetalburgWoods_Movement_22E1CB applymovement 4, PetalburgWoods_Movement_DevonResearcherApproachPlayerLeft
waitmovement 0 waitmovement 0
msgbox PetalburgWoods_Text_22E34F, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_HaveYouSeenShroomish, MSGBOX_DEFAULT
closemessage closemessage
playbgm MUS_AQA_0, 0 playbgm MUS_AQA_0, 0
applymovement 3, PetalburgWoods_Movement_22E209 applymovement 3, PetalburgWoods_Movement_AquaEntrance
waitmovement 0 waitmovement 0
msgbox PetalburgWoods_Text_22E3AA, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_IWasGoingToAmbushYou, MSGBOX_DEFAULT
closemessage closemessage
applymovement 3, PetalburgWoods_Movement_22E1F6 applymovement 3, PetalburgWoods_Movement_AquaApproachResearcherLeft
waitmovement 0 waitmovement 0
applymovement 4, Common_Movement_WalkInPlaceFastestUp applymovement 4, Common_Movement_WalkInPlaceFastestUp
waitmovement 0 waitmovement 0
msgbox PetalburgWoods_Text_22E428, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_HandOverThosePapers, MSGBOX_DEFAULT
closemessage closemessage
applymovement 4, PetalburgWoods_Movement_22E1E4 applymovement 4, PetalburgWoods_Movement_DevonResearcherFleeToPlayerLeft
waitmovement 0 waitmovement 0
msgbox PetalburgWoods_Text_22E457, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_YouHaveToHelpMe, MSGBOX_DEFAULT
closemessage closemessage
applymovement 3, PetalburgWoods_Movement_22E20E applymovement 3, PetalburgWoods_Movement_AquaApproachPlayer
waitmovement 0 waitmovement 0
msgbox PetalburgWoods_Text_22E4A5, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_NoOneCrossesTeamAqua, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_8, PetalburgWoods_Text_22E542 trainerbattle_no_intro TRAINER_GRUNT_8, PetalburgWoods_Text_YoureKiddingMe
applymovement 3, PetalburgWoods_Movement_22E1F9 applymovement 3, PetalburgWoods_Movement_AquaBackOff
waitmovement 0 waitmovement 0
call PetalburgWoods_EventScript_22E138 call PetalburgWoods_EventScript_DevonResearcherPostBattle
applymovement EVENT_OBJ_ID_PLAYER, PetalburgWoods_Movement_22E1E0 applymovement EVENT_OBJ_ID_PLAYER, PetalburgWoods_Movement_WatchResearcherLeave
applymovement 4, PetalburgWoods_Movement_22E1C2 applymovement 4, PetalburgWoods_Movement_DevonResearcherExitLeft
waitmovement 0 waitmovement 0
goto PetalburgWoods_EventScript_22E1A7 goto PetalburgWoods_EventScript_RemoveDevonResearcher
end end
PetalburgWoods_EventScript_22E079:: @ 822E079 PetalburgWoods_EventScript_DevonResearcherRight:: @ 822E079
lockall lockall
call PetalburgWoods_EventScript_22E124 call PetalburgWoods_EventScript_DevonResearcherIntro
applymovement 4, PetalburgWoods_Movement_22E1D0 applymovement 4, PetalburgWoods_Movement_DevonResearcherApproachPlayerRight
waitmovement 0 waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0 waitmovement 0
msgbox PetalburgWoods_Text_22E34F, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_HaveYouSeenShroomish, MSGBOX_DEFAULT
closemessage closemessage
playbgm MUS_AQA_0, 0 playbgm MUS_AQA_0, 0
applymovement 3, PetalburgWoods_Movement_22E209 applymovement 3, PetalburgWoods_Movement_AquaEntrance
waitmovement 0 waitmovement 0
msgbox PetalburgWoods_Text_22E3AA, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_IWasGoingToAmbushYou, MSGBOX_DEFAULT
closemessage closemessage
applymovement 3, PetalburgWoods_Movement_22E205 applymovement 3, PetalburgWoods_Movement_AquaApproachResearcherRight
waitmovement 0 waitmovement 0
applymovement 4, Common_Movement_WalkInPlaceFastestUp applymovement 4, Common_Movement_WalkInPlaceFastestUp
waitmovement 0 waitmovement 0
msgbox PetalburgWoods_Text_22E428, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_HandOverThosePapers, MSGBOX_DEFAULT
closemessage closemessage
applymovement 4, PetalburgWoods_Movement_22E1EA applymovement 4, PetalburgWoods_Movement_DevonResearcherFleeToPlayerRight
waitmovement 0 waitmovement 0
msgbox PetalburgWoods_Text_22E457, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_YouHaveToHelpMe, MSGBOX_DEFAULT
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
waitmovement 0 waitmovement 0
msgbox PetalburgWoods_Text_22E4A5, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_NoOneCrossesTeamAqua, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_8, PetalburgWoods_Text_22E542 trainerbattle_no_intro TRAINER_GRUNT_8, PetalburgWoods_Text_YoureKiddingMe
applymovement 3, PetalburgWoods_Movement_22E1F9 applymovement 3, PetalburgWoods_Movement_AquaBackOff
waitmovement 0 waitmovement 0
call PetalburgWoods_EventScript_22E138 call PetalburgWoods_EventScript_DevonResearcherPostBattle
applymovement EVENT_OBJ_ID_PLAYER, PetalburgWoods_Movement_22E1E0 applymovement EVENT_OBJ_ID_PLAYER, PetalburgWoods_Movement_WatchResearcherLeave
applymovement 4, PetalburgWoods_Movement_22E1D7 applymovement 4, PetalburgWoods_Movement_DevonResearcherExitRight
waitmovement 0 waitmovement 0
goto PetalburgWoods_EventScript_22E1A7 goto PetalburgWoods_EventScript_RemoveDevonResearcher
end end
PetalburgWoods_EventScript_22E124:: @ 822E124 PetalburgWoods_EventScript_DevonResearcherIntro:: @ 822E124
applymovement 4, PetalburgWoods_Movement_22E1B1 applymovement 4, PetalburgWoods_Movement_DevonResearcherLookAround
waitmovement 0 waitmovement 0
msgbox PetalburgWoods_Text_22E332, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_NotAOneToBeFound, MSGBOX_DEFAULT
closemessage closemessage
return return
PetalburgWoods_EventScript_22E138:: @ 822E138 PetalburgWoods_EventScript_DevonResearcherPostBattle:: @ 822E138
msgbox PetalburgWoods_Text_22E563, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_YouveGotSomeNerve, MSGBOX_DEFAULT
closemessage closemessage
applymovement 3, PetalburgWoods_Movement_22E1FD applymovement 3, PetalburgWoods_Movement_AquaRunAway
waitmovement 0 waitmovement 0
removeobject 3 removeobject 3
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
waitmovement 0 waitmovement 0
msgbox PetalburgWoods_Text_22E63D, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_ThatWasAwfullyClose, MSGBOX_DEFAULT
giveitem_std ITEM_GREAT_BALL giveitem_std ITEM_GREAT_BALL
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq PetalburgWoods_EventScript_22E17D goto_if_eq PetalburgWoods_EventScript_BagFull
goto PetalburgWoods_EventScript_22E18B goto PetalburgWoods_EventScript_DevonResearcherFinish
end end
PetalburgWoods_EventScript_22E17D:: @ 822E17D PetalburgWoods_EventScript_BagFull:: @ 822E17D
msgbox PetalburgWoods_Text_22E741, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_YoureLoadedWithItems, MSGBOX_DEFAULT
goto PetalburgWoods_EventScript_22E18B goto PetalburgWoods_EventScript_DevonResearcherFinish
end end
PetalburgWoods_EventScript_22E18B:: @ 822E18B PetalburgWoods_EventScript_DevonResearcherFinish:: @ 822E18B
msgbox PetalburgWoods_Text_22E6C7, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_TeamAquaAfterSomethingInRustboro, MSGBOX_DEFAULT
applymovement 4, PetalburgWoods_Movement_22E1EE applymovement 4, PetalburgWoods_Movement_DevonResearcherStartExit
waitmovement 0 waitmovement 0
msgbox PetalburgWoods_Text_22E712, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_ICantBeWastingTime, MSGBOX_DEFAULT
closemessage closemessage
return return
PetalburgWoods_EventScript_22E1A7:: @ 822E1A7 PetalburgWoods_EventScript_RemoveDevonResearcher:: @ 822E1A7
removeobject 4 removeobject 4
setvar VAR_PETALBURG_WOODS_STATE, 1 setvar VAR_PETALBURG_WOODS_STATE, 1
releaseall releaseall
end end
PetalburgWoods_Movement_22E1B1: @ 822E1B1 PetalburgWoods_Movement_DevonResearcherLookAround: @ 822E1B1
face_up face_up
delay_16 delay_16
delay_4 delay_4
@@ -132,7 +132,7 @@ PetalburgWoods_Movement_22E1B1: @ 822E1B1
delay_16 delay_16
step_end step_end
PetalburgWoods_Movement_22E1C2: @ 822E1C2 PetalburgWoods_Movement_DevonResearcherExitLeft: @ 822E1C2
walk_fast_right walk_fast_right
walk_fast_up walk_fast_up
walk_fast_up walk_fast_up
@@ -143,14 +143,14 @@ PetalburgWoods_Movement_22E1C2: @ 822E1C2
walk_fast_up walk_fast_up
step_end step_end
PetalburgWoods_Movement_22E1CB: @ 822E1CB PetalburgWoods_Movement_DevonResearcherApproachPlayerLeft: @ 822E1CB
delay_16 delay_16
face_player face_player
walk_down walk_down
walk_down walk_down
step_end step_end
PetalburgWoods_Movement_22E1D0: @ 822E1D0 PetalburgWoods_Movement_DevonResearcherApproachPlayerRight: @ 822E1D0
delay_16 delay_16
face_player face_player
walk_down walk_down
@@ -159,7 +159,7 @@ PetalburgWoods_Movement_22E1D0: @ 822E1D0
walk_in_place_fastest_right walk_in_place_fastest_right
step_end step_end
PetalburgWoods_Movement_22E1D7: @ 822E1D7 PetalburgWoods_Movement_DevonResearcherExitRight: @ 822E1D7
walk_fast_left walk_fast_left
walk_fast_up walk_fast_up
walk_fast_up walk_fast_up
@@ -170,13 +170,13 @@ PetalburgWoods_Movement_22E1D7: @ 822E1D7
walk_fast_up walk_fast_up
step_end step_end
PetalburgWoods_Movement_22E1E0: @ 822E1E0 PetalburgWoods_Movement_WatchResearcherLeave: @ 822E1E0
delay_16 delay_16
delay_16 delay_16
walk_in_place_fastest_up walk_in_place_fastest_up
step_end step_end
PetalburgWoods_Movement_22E1E4: @ 822E1E4 PetalburgWoods_Movement_DevonResearcherFleeToPlayerLeft: @ 822E1E4
walk_fast_right walk_fast_right
walk_fast_down walk_fast_down
walk_fast_down walk_fast_down
@@ -184,13 +184,13 @@ PetalburgWoods_Movement_22E1E4: @ 822E1E4
walk_in_place_fastest_up walk_in_place_fastest_up
step_end step_end
PetalburgWoods_Movement_22E1EA: @ 822E1EA PetalburgWoods_Movement_DevonResearcherFleeToPlayerRight: @ 822E1EA
walk_fast_down walk_fast_down
walk_fast_right walk_fast_right
walk_in_place_fastest_up walk_in_place_fastest_up
step_end step_end
PetalburgWoods_Movement_22E1EE: @ 822E1EE PetalburgWoods_Movement_DevonResearcherStartExit: @ 822E1EE
walk_in_place_fastest_down walk_in_place_fastest_down
delay_16 delay_16
delay_16 delay_16
@@ -200,18 +200,18 @@ PetalburgWoods_Movement_22E1EE: @ 822E1EE
face_up face_up
step_end step_end
PetalburgWoods_Movement_22E1F6: @ 822E1F6 PetalburgWoods_Movement_AquaApproachResearcherLeft: @ 822E1F6
walk_fast_down walk_fast_down
walk_fast_down walk_fast_down
step_end step_end
PetalburgWoods_Movement_22E1F9: @ 822E1F9 PetalburgWoods_Movement_AquaBackOff: @ 822E1F9
lock_facing_direction lock_facing_direction
walk_up walk_up
unlock_facing_direction unlock_facing_direction
step_end step_end
PetalburgWoods_Movement_22E1FD: @ 822E1FD PetalburgWoods_Movement_AquaRunAway: @ 822E1FD
walk_fast_up walk_fast_up
walk_fast_up walk_fast_up
walk_fast_up walk_fast_up
@@ -221,36 +221,36 @@ PetalburgWoods_Movement_22E1FD: @ 822E1FD
delay_16 delay_16
step_end step_end
PetalburgWoods_Movement_22E205: @ 822E205 PetalburgWoods_Movement_AquaApproachResearcherRight: @ 822E205
walk_fast_down walk_fast_down
walk_fast_down walk_fast_down
walk_fast_down walk_fast_down
step_end step_end
PetalburgWoods_Movement_22E209: @ 822E209 PetalburgWoods_Movement_AquaEntrance: @ 822E209
walk_down walk_down
walk_down walk_down
delay_16 delay_16
delay_16 delay_16
step_end step_end
PetalburgWoods_Movement_22E20E: @ 822E20E PetalburgWoods_Movement_AquaApproachPlayer: @ 822E20E
walk_down walk_down
step_end step_end
PetalburgWoods_EventScript_22E210:: @ 822E210 PetalburgWoods_EventScript_Boy1:: @ 822E210
msgbox PetalburgWoods_Text_22EA0C, MSGBOX_NPC msgbox PetalburgWoods_Text_StayOutOfTallGrass, MSGBOX_NPC
end end
PetalburgWoods_EventScript_22E219:: @ 822E219 PetalburgWoods_EventScript_Boy2:: @ 822E219
msgbox PetalburgWoods_Text_22EA8B, MSGBOX_NPC msgbox PetalburgWoods_Text_HiddenItemsExplanation, MSGBOX_NPC
end end
PetalburgWoods_EventScript_22E222:: @ 822E222 PetalburgWoods_EventScript_Girl:: @ 822E222
lock lock
faceplayer faceplayer
goto_if_set FLAG_RECEIVED_MIRACLE_SEED, PetalburgWoods_EventScript_22E251 goto_if_set FLAG_RECEIVED_MIRACLE_SEED, PetalburgWoods_EventScript_ExplainMiracleSeed
msgbox PetalburgWoods_Text_22EAFE, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_TryUsingThisItem, MSGBOX_DEFAULT
giveitem_std ITEM_MIRACLE_SEED giveitem_std ITEM_MIRACLE_SEED
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq Common_EventScript_ShowBagIsFull goto_if_eq Common_EventScript_ShowBagIsFull
@@ -258,102 +258,102 @@ PetalburgWoods_EventScript_22E222:: @ 822E222
release release
end end
PetalburgWoods_EventScript_22E251:: @ 822E251 PetalburgWoods_EventScript_ExplainMiracleSeed:: @ 822E251
msgbox PetalburgWoods_Text_22EB63, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_MiracleSeedExplanation, MSGBOX_DEFAULT
release release
end end
PetalburgWoods_EventScript_22E25B:: @ 822E25B PetalburgWoods_EventScript_Sign1:: @ 822E25B
msgbox PetalburgWoods_Text_22EC10, MSGBOX_SIGN msgbox PetalburgWoods_Text_TrainerTipsExperience, MSGBOX_SIGN
end end
PetalburgWoods_EventScript_22E264:: @ 822E264 PetalburgWoods_EventScript_Sign2:: @ 822E264
msgbox PetalburgWoods_Text_22ED07, MSGBOX_SIGN msgbox PetalburgWoods_Text_TrainerTipsPP, MSGBOX_SIGN
end end
PetalburgWoods_EventScript_22E26D:: @ 822E26D PetalburgWoods_EventScript_Lyle:: @ 822E26D
trainerbattle_single TRAINER_LYLE, PetalburgWoods_Text_22E77D, PetalburgWoods_Text_22E7C1 trainerbattle_single TRAINER_LYLE, PetalburgWoods_Text_GoBugPokemonTeam, PetalburgWoods_Text_ICouldntWin
msgbox PetalburgWoods_Text_22E7EF, MSGBOX_AUTOCLOSE msgbox PetalburgWoods_Text_ImOutOfPokeBalls, MSGBOX_AUTOCLOSE
end end
PetalburgWoods_EventScript_22E284:: @ 822E284 PetalburgWoods_EventScript_James:: @ 822E284
trainerbattle_single TRAINER_JAMES_1, PetalburgWoods_Text_22E827, PetalburgWoods_Text_22E86B, PetalburgWoods_EventScript_22E2C5 trainerbattle_single TRAINER_JAMES_1, PetalburgWoods_Text_InstantlyPopularWithBugPokemon, PetalburgWoods_Text_CantBePopularIfILose, PetalburgWoods_EventScript_TryRegisterJames
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq PetalburgWoods_EventScript_22E31B goto_if_eq PetalburgWoods_EventScript_JamesRematch
setvar VAR_0x8004, TRAINER_JAMES_1 setvar VAR_0x8004, TRAINER_JAMES_1
specialvar VAR_RESULT, IsTrainerRegistered specialvar VAR_RESULT, IsTrainerRegistered
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq PetalburgWoods_EventScript_22E2EF goto_if_eq PetalburgWoods_EventScript_TryRegisterJames2
msgbox PetalburgWoods_Text_22E889, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_PeopleRespectYou, MSGBOX_DEFAULT
release release
end end
PetalburgWoods_EventScript_22E2C5:: @ 822E2C5 PetalburgWoods_EventScript_TryRegisterJames:: @ 822E2C5
special sub_80B4808 special sub_80B4808
waitmovement 0 waitmovement 0
goto_if_set FLAG_HAS_MATCH_CALL, PetalburgWoods_EventScript_22E2D6 goto_if_set FLAG_HAS_MATCH_CALL, PetalburgWoods_EventScript_RegisterJames
release release
end end
PetalburgWoods_EventScript_22E2D6:: @ 822E2D6 PetalburgWoods_EventScript_RegisterJames:: @ 822E2D6
msgbox PetalburgWoods_Text_22E8C3, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_IWantRematch1, MSGBOX_DEFAULT
register_matchcall TRAINER_JAMES_1 register_matchcall TRAINER_JAMES_1
release release
end end
PetalburgWoods_EventScript_22E2EF:: @ 822E2EF PetalburgWoods_EventScript_TryRegisterJames2:: @ 822E2EF
goto_if_set FLAG_HAS_MATCH_CALL, PetalburgWoods_EventScript_22E302 goto_if_set FLAG_HAS_MATCH_CALL, PetalburgWoods_EventScript_RegisterJames2
msgbox PetalburgWoods_Text_22E889, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_PeopleRespectYou, MSGBOX_DEFAULT
release release
end end
PetalburgWoods_EventScript_22E302:: @ 822E302 PetalburgWoods_EventScript_RegisterJames2:: @ 822E302
msgbox PetalburgWoods_Text_22E914, MSGBOX_DEFAULT msgbox PetalburgWoods_Text_IWantRematch2, MSGBOX_DEFAULT
register_matchcall TRAINER_JAMES_1 register_matchcall TRAINER_JAMES_1
release release
end end
PetalburgWoods_EventScript_22E31B:: @ 822E31B PetalburgWoods_EventScript_JamesRematch:: @ 822E31B
trainerbattle_rematch TRAINER_JAMES_1, PetalburgWoods_Text_22E966, PetalburgWoods_Text_22E998 trainerbattle_rematch TRAINER_JAMES_1, PetalburgWoods_Text_MyPokemonHaveGrown, PetalburgWoods_Text_CantBePopularIfLose
msgbox PetalburgWoods_Text_22E9B6, MSGBOX_AUTOCLOSE msgbox PetalburgWoods_Text_IveBeenTrainingHard, MSGBOX_AUTOCLOSE
end end
PetalburgWoods_Text_22E332: @ 822E332 PetalburgWoods_Text_NotAOneToBeFound: @ 822E332
.string "Hmmm…\n" .string "Hmmm…\n"
.string "Not a one to be found…$" .string "Not a one to be found…$"
PetalburgWoods_Text_22E34F: @ 822E34F PetalburgWoods_Text_HaveYouSeenShroomish: @ 822E34F
.string "Hello, have you seen any POKéMON\n" .string "Hello, have you seen any POKéMON\n"
.string "called SHROOMISH around here?\p" .string "called SHROOMISH around here?\p"
.string "I really love that POKéMON.$" .string "I really love that POKéMON.$"
PetalburgWoods_Text_22E3AA: @ 822E3AA PetalburgWoods_Text_IWasGoingToAmbushYou: @ 822E3AA
.string "I was going to ambush you, but you\n" .string "I was going to ambush you, but you\n"
.string "had to dawdle in PETALBURG WOODS\l" .string "had to dawdle in PETALBURG WOODS\l"
.string "forever, didn't you?\p" .string "forever, didn't you?\p"
.string "I got sick of waiting, so here I am!$" .string "I got sick of waiting, so here I am!$"
PetalburgWoods_Text_22E428: @ 822E428 PetalburgWoods_Text_HandOverThosePapers: @ 822E428
.string "You! DEVON RESEARCHER!\p" .string "You! DEVON RESEARCHER!\p"
.string "Hand over those papers!$" .string "Hand over those papers!$"
PetalburgWoods_Text_22E457: @ 822E457 PetalburgWoods_Text_YouHaveToHelpMe: @ 822E457
.string "Aiyeeeh!\p" .string "Aiyeeeh!\p"
.string "You're a POKéMON TRAINER, aren't you?\n" .string "You're a POKéMON TRAINER, aren't you?\n"
.string "You've got to help me, please!$" .string "You've got to help me, please!$"
PetalburgWoods_Text_22E4A5: @ 822E4A5 PetalburgWoods_Text_NoOneCrossesTeamAqua: @ 822E4A5
.string "Hunh? What do you think you're doing?\n" .string "Hunh? What do you think you're doing?\n"
.string "What, you're going to protect him?\p" .string "What, you're going to protect him?\p"
.string "No one who crosses TEAM AQUA\n" .string "No one who crosses TEAM AQUA\n"
.string "gets any mercy, not even a kid!\p" .string "gets any mercy, not even a kid!\p"
.string "Come on and battle me!$" .string "Come on and battle me!$"
PetalburgWoods_Text_22E542: @ 822E542 PetalburgWoods_Text_YoureKiddingMe: @ 822E542
.string "You're kidding me! You're tough!$" .string "You're kidding me! You're tough!$"
PetalburgWoods_Text_22E563: @ 822E563 PetalburgWoods_Text_YouveGotSomeNerve: @ 822E563
.string "Grrr… You've got some nerve\n" .string "Grrr… You've got some nerve\n"
.string "meddling with TEAM AQUA!\l" .string "meddling with TEAM AQUA!\l"
.string "Come on and battle me again!\p" .string "Come on and battle me again!\p"
@@ -363,7 +363,7 @@ PetalburgWoods_Text_22E563: @ 822E563
.string "after something in RUSTBORO.\p" .string "after something in RUSTBORO.\p"
.string "I'll let you go today!$" .string "I'll let you go today!$"
PetalburgWoods_Text_22E63D: @ 822E63D PetalburgWoods_Text_ThatWasAwfullyClose: @ 822E63D
.string "Whew…\n" .string "Whew…\n"
.string "That was awfully close!\p" .string "That was awfully close!\p"
.string "Thanks to you, he didn't rob me of\n" .string "Thanks to you, he didn't rob me of\n"
@@ -371,85 +371,85 @@ PetalburgWoods_Text_22E63D: @ 822E63D
.string "I know, I'll give you a GREAT BALL as\n" .string "I know, I'll give you a GREAT BALL as\n"
.string "my thanks!$" .string "my thanks!$"
PetalburgWoods_Text_22E6C7: @ 822E6C7 PetalburgWoods_Text_TeamAquaAfterSomethingInRustboro: @ 822E6C7
.string "Didn't that TEAM AQUA thug say\n" .string "Didn't that TEAM AQUA thug say\n"
.string "they were after something in\l" .string "they were after something in\l"
.string "RUSTBORO, too?$" .string "RUSTBORO, too?$"
PetalburgWoods_Text_22E712: @ 822E712 PetalburgWoods_Text_ICantBeWastingTime: @ 822E712
.string "Uh-oh! It's a crisis!\n" .string "Uh-oh! It's a crisis!\n"
.string "I can't be wasting time!$" .string "I can't be wasting time!$"
PetalburgWoods_Text_22E741: @ 822E741 PetalburgWoods_Text_YoureLoadedWithItems: @ 822E741
.string "You're loaded with items.\n" .string "You're loaded with items.\n"
.string "I can't give you this GREAT BALL.$" .string "I can't give you this GREAT BALL.$"
PetalburgWoods_Text_22E77D: @ 822E77D PetalburgWoods_Text_GoBugPokemonTeam: @ 822E77D
.string "I caught a whole bunch of POKéMON!\p" .string "I caught a whole bunch of POKéMON!\p"
.string "Go, go, go!\n" .string "Go, go, go!\n"
.string "My BUG POKéMON team!$" .string "My BUG POKéMON team!$"
PetalburgWoods_Text_22E7C1: @ 822E7C1 PetalburgWoods_Text_ICouldntWin: @ 822E7C1
.string "I have all these POKéMON,\n" .string "I have all these POKéMON,\n"
.string "but I couldn't win…$" .string "but I couldn't win…$"
PetalburgWoods_Text_22E7EF: @ 822E7EF PetalburgWoods_Text_ImOutOfPokeBalls: @ 822E7EF
.string "I caught a bunch of POKéMON.\n" .string "I caught a bunch of POKéMON.\n"
.string "Now I'm out of POKé BALLS.$" .string "Now I'm out of POKé BALLS.$"
PetalburgWoods_Text_22E827: @ 822E827 PetalburgWoods_Text_InstantlyPopularWithBugPokemon: @ 822E827
.string "If you take BUG POKéMON to school,\n" .string "If you take BUG POKéMON to school,\n"
.string "you get to be instantly popular!$" .string "you get to be instantly popular!$"
PetalburgWoods_Text_22E86B: @ 822E86B PetalburgWoods_Text_CantBePopularIfILose: @ 822E86B
.string "I can't be popular if I lose.$" .string "I can't be popular if I lose.$"
PetalburgWoods_Text_22E889: @ 822E889 PetalburgWoods_Text_PeopleRespectYou: @ 822E889
.string "If you have a big BUG POKéMON,\n" .string "If you have a big BUG POKéMON,\n"
.string "people respect you for it.$" .string "people respect you for it.$"
PetalburgWoods_Text_22E8C3: @ 822E8C3 PetalburgWoods_Text_IWantRematch1: @ 822E8C3
.string "I want a rematch when my BUG\n" .string "I want a rematch when my BUG\n"
.string "POKéMON grow up!\p" .string "POKéMON grow up!\p"
.string "I'm registering you in my POKéNAV!$" .string "I'm registering you in my POKéNAV!$"
PetalburgWoods_Text_22E914: @ 822E914 PetalburgWoods_Text_IWantRematch2: @ 822E914
.string "I want a rematch when my BUG \n" .string "I want a rematch when my BUG \n"
.string "POKéMON grow up!\p" .string "POKéMON grow up!\p"
.string "I'm registering you in my POKéNAV!$" .string "I'm registering you in my POKéNAV!$"
PetalburgWoods_Text_22E966: @ 822E966 PetalburgWoods_Text_MyPokemonHaveGrown: @ 822E966
.string "My BUG POKéMON have grown.\n" .string "My BUG POKéMON have grown.\n"
.string "I'll be popular again.$" .string "I'll be popular again.$"
PetalburgWoods_Text_22E998: @ 822E998 PetalburgWoods_Text_CantBePopularIfLose: @ 822E998
.string "I can't be popular if I lose.$" .string "I can't be popular if I lose.$"
PetalburgWoods_Text_22E9B6: @ 822E9B6 PetalburgWoods_Text_IveBeenTrainingHard: @ 822E9B6
.string "You get to be popular if you have\n" .string "You get to be popular if you have\n"
.string "strong POKéMON, right?\l" .string "strong POKéMON, right?\l"
.string "So, I've been training hard.$" .string "So, I've been training hard.$"
PetalburgWoods_Text_22EA0C: @ 822EA0C PetalburgWoods_Text_StayOutOfTallGrass: @ 822EA0C
.string "Yo, there!\n" .string "Yo, there!\n"
.string "Your POKéMON doing okay?\p" .string "Your POKéMON doing okay?\p"
.string "If your POKéMON are weak and you want\n" .string "If your POKéMON are weak and you want\n"
.string "to avoid battles, you should stay out\l" .string "to avoid battles, you should stay out\l"
.string "of tall grass.$" .string "of tall grass.$"
PetalburgWoods_Text_22EA8B: @ 822EA8B PetalburgWoods_Text_HiddenItemsExplanation: @ 822EA8B
.string "Sometimes, there are things on the\n" .string "Sometimes, there are things on the\n"
.string "ground even if you can't see them.\p" .string "ground even if you can't see them.\p"
.string "That's why I always check where I'm\n" .string "That's why I always check where I'm\n"
.string "walking.$" .string "walking.$"
PetalburgWoods_Text_22EAFE: @ 822EAFE PetalburgWoods_Text_TryUsingThisItem: @ 822EAFE
.string "Oh, neat!\n" .string "Oh, neat!\n"
.string "That's the BADGE from RUSTBORO GYM!\p" .string "That's the BADGE from RUSTBORO GYM!\p"
.string "You must be a TRAINER.\n" .string "You must be a TRAINER.\n"
.string "You should try using this item.$" .string "You should try using this item.$"
PetalburgWoods_Text_22EB63: @ 822EB63 PetalburgWoods_Text_MiracleSeedExplanation: @ 822EB63
.string "It's a MIRACLE SEED.\n" .string "It's a MIRACLE SEED.\n"
.string "If a POKéMON holds that item, its\l" .string "If a POKéMON holds that item, its\l"
.string "GRASS-type moves become stronger.\p" .string "GRASS-type moves become stronger.\p"
@@ -457,7 +457,7 @@ PetalburgWoods_Text_22EB63: @ 822EB63
.string "other convenient items for POKéMON\l" .string "other convenient items for POKéMON\l"
.string "to hold.$" .string "to hold.$"
PetalburgWoods_Text_22EC10: @ 822EC10 PetalburgWoods_Text_TrainerTipsExperience: @ 822EC10
.string "TRAINER TIPS\p" .string "TRAINER TIPS\p"
.string "Any POKéMON that appears even once\n" .string "Any POKéMON that appears even once\n"
.string "in a battle is awarded EXP Points.\p" .string "in a battle is awarded EXP Points.\p"
@@ -467,7 +467,7 @@ PetalburgWoods_Text_22EC10: @ 822EC10
.string "out. It will earn EXP Points without\l" .string "out. It will earn EXP Points without\l"
.string "being exposed to any harm.$" .string "being exposed to any harm.$"
PetalburgWoods_Text_22ED07: @ 822ED07 PetalburgWoods_Text_TrainerTipsPP: @ 822ED07
.string "TRAINER TIPS\p" .string "TRAINER TIPS\p"
.string "In addition to Hit Points (HP), POKéMON\n" .string "In addition to Hit Points (HP), POKéMON\n"
.string "have Power Points (PP) that are used to\l" .string "have Power Points (PP) that are used to\l"
+54 -54
View File
@@ -1,110 +1,110 @@
PetalburgCity_PokemonCenter_1F_EventScript_291539:: @ 8291539 MysteryEventClub_EventScript_Man:: @ 8291539
lock lock
faceplayer faceplayer
goto_if_set FLAG_SYS_CHAT_USED, PetalburgCity_PokemonCenter_1F_EventScript_2915F5 goto_if_set FLAG_SYS_CHAT_USED, MysteryEventClub_EventScript_2915F5
msgbox PetalburgCity_PokemonCenter_1F_Text_291687, MSGBOX_DEFAULT msgbox MysteryEventClub_Text_CollectTrainerProfiles, MSGBOX_DEFAULT
goto PetalburgCity_PokemonCenter_1F_EventScript_291552 goto MysteryEventClub_EventScript_291552
end end
PetalburgCity_PokemonCenter_1F_EventScript_291552:: @ 8291552 MysteryEventClub_EventScript_291552:: @ 8291552
msgbox PetalburgCity_PokemonCenter_1F_Text_2916FF, MSGBOX_DEFAULT msgbox MysteryEventClub_Text_2916FF, MSGBOX_DEFAULT
multichoice 17, 6, MULTI_YESNOINFO_2, 0 multichoice 17, 6, MULTI_YESNOINFO_2, 0
switch VAR_RESULT switch VAR_RESULT
case 0, PetalburgCity_PokemonCenter_1F_EventScript_29159F case 0, MysteryEventClub_EventScript_29159F
case 1, PetalburgCity_PokemonCenter_1F_EventScript_2915EB case 1, MysteryEventClub_EventScript_2915EB
case 2, PetalburgCity_PokemonCenter_1F_EventScript_291591 case 2, MysteryEventClub_EventScript_291591
case MULTI_B_PRESSED, PetalburgCity_PokemonCenter_1F_EventScript_2915EB case MULTI_B_PRESSED, MysteryEventClub_EventScript_2915EB
end end
PetalburgCity_PokemonCenter_1F_EventScript_291591:: @ 8291591 MysteryEventClub_EventScript_291591:: @ 8291591
msgbox PetalburgCity_PokemonCenter_1F_Text_291729, MSGBOX_DEFAULT msgbox MysteryEventClub_Text_EasyChatExplanation, MSGBOX_DEFAULT
goto PetalburgCity_PokemonCenter_1F_EventScript_291552 goto MysteryEventClub_EventScript_291552
end end
PetalburgCity_PokemonCenter_1F_EventScript_29159F:: @ 829159F MysteryEventClub_EventScript_29159F:: @ 829159F
msgbox PetalburgCity_PokemonCenter_1F_Text_291969, MSGBOX_DEFAULT msgbox MysteryEventClub_Text_291969, MSGBOX_DEFAULT
closemessage closemessage
setvar VAR_0x8004, EASY_CHAT_TYPE_PROFILE setvar VAR_0x8004, EASY_CHAT_TYPE_PROFILE
call Common_ShowEasyChatScreen call Common_ShowEasyChatScreen
lock lock
faceplayer faceplayer
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq PetalburgCity_PokemonCenter_1F_EventScript_2915CB goto_if_eq MysteryEventClub_EventScript_2915CB
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq PetalburgCity_PokemonCenter_1F_EventScript_2915D5 goto_if_eq MysteryEventClub_EventScript_2915D5
end end
PetalburgCity_PokemonCenter_1F_EventScript_2915CB:: @ 82915CB MysteryEventClub_EventScript_2915CB:: @ 82915CB
msgbox PetalburgCity_PokemonCenter_1F_Text_2919DC, MSGBOX_DEFAULT msgbox MysteryEventClub_Text_2919DC, MSGBOX_DEFAULT
release release
end end
PetalburgCity_PokemonCenter_1F_EventScript_2915D5:: @ 82915D5 MysteryEventClub_EventScript_2915D5:: @ 82915D5
setvar VAR_0x8004, 0 setvar VAR_0x8004, 0
special sub_811EECC special sub_811EECC
waitmessage waitmessage
delay 80 delay 80
msgbox PetalburgCity_PokemonCenter_1F_Text_291B22, MSGBOX_DEFAULT msgbox MysteryEventClub_Text_291B22, MSGBOX_DEFAULT
release release
end end
PetalburgCity_PokemonCenter_1F_EventScript_2915EB:: @ 82915EB MysteryEventClub_EventScript_2915EB:: @ 82915EB
msgbox PetalburgCity_PokemonCenter_1F_Text_291991, MSGBOX_DEFAULT msgbox MysteryEventClub_Text_291991, MSGBOX_DEFAULT
release release
end end
PetalburgCity_PokemonCenter_1F_EventScript_2915F5:: @ 82915F5 MysteryEventClub_EventScript_2915F5:: @ 82915F5
msgbox PetalburgCity_PokemonCenter_1F_Text_291A1B, MSGBOX_DEFAULT msgbox MysteryEventClub_Text_YouHaveWonderfulSmile, MSGBOX_DEFAULT
goto PetalburgCity_PokemonCenter_1F_EventScript_291603 goto MysteryEventClub_EventScript_291603
end end
PetalburgCity_PokemonCenter_1F_EventScript_291603:: @ 8291603 MysteryEventClub_EventScript_291603:: @ 8291603
msgbox PetalburgCity_PokemonCenter_1F_Text_291A4F, MSGBOX_DEFAULT msgbox MysteryEventClub_Text_MayISeeYourNewProfile, MSGBOX_DEFAULT
multichoice 17, 6, MULTI_YESNOINFO_2, 0 multichoice 17, 6, MULTI_YESNOINFO_2, 0
switch VAR_RESULT switch VAR_RESULT
case 0, PetalburgCity_PokemonCenter_1F_EventScript_291650 case 0, MysteryEventClub_EventScript_291650
case 1, PetalburgCity_PokemonCenter_1F_EventScript_29167C case 1, MysteryEventClub_EventScript_29167C
case 2, PetalburgCity_PokemonCenter_1F_EventScript_291642 case 2, MysteryEventClub_EventScript_291642
case MULTI_B_PRESSED, PetalburgCity_PokemonCenter_1F_EventScript_29167C case MULTI_B_PRESSED, MysteryEventClub_EventScript_29167C
end end
PetalburgCity_PokemonCenter_1F_EventScript_291642:: @ 8291642 MysteryEventClub_EventScript_291642:: @ 8291642
msgbox PetalburgCity_PokemonCenter_1F_Text_291729, MSGBOX_DEFAULT msgbox MysteryEventClub_Text_EasyChatExplanation, MSGBOX_DEFAULT
goto PetalburgCity_PokemonCenter_1F_EventScript_291603 goto MysteryEventClub_EventScript_291603
end end
PetalburgCity_PokemonCenter_1F_EventScript_291650:: @ 8291650 MysteryEventClub_EventScript_291650:: @ 8291650
msgbox PetalburgCity_PokemonCenter_1F_Text_291A6B, MSGBOX_DEFAULT msgbox MysteryEventClub_Text_291A6B, MSGBOX_DEFAULT
closemessage closemessage
setvar VAR_0x8004, EASY_CHAT_TYPE_PROFILE setvar VAR_0x8004, EASY_CHAT_TYPE_PROFILE
call Common_ShowEasyChatScreen call Common_ShowEasyChatScreen
lock lock
faceplayer faceplayer
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq PetalburgCity_PokemonCenter_1F_EventScript_2915CB goto_if_eq MysteryEventClub_EventScript_2915CB
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq PetalburgCity_PokemonCenter_1F_EventScript_2915D5 goto_if_eq MysteryEventClub_EventScript_2915D5
end end
PetalburgCity_PokemonCenter_1F_EventScript_29167C:: @ 829167C MysteryEventClub_EventScript_29167C:: @ 829167C
msgbox PetalburgCity_PokemonCenter_1F_Text_291ABA, MSGBOX_DEFAULT msgbox MysteryEventClub_Text_291ABA, MSGBOX_DEFAULT
release release
end end
PetalburgCity_PokemonCenter_1F_EventScript_291686:: @ 8291686 MysteryEventClub_EventScript_291686:: @ 8291686
return return
PetalburgCity_PokemonCenter_1F_Text_291687: @ 8291687 MysteryEventClub_Text_CollectTrainerProfiles: @ 8291687
.string "Hello there, TRAINER!\n" .string "Hello there, TRAINER!\n"
.string "You've got a wonderful smile, there.\p" .string "You've got a wonderful smile, there.\p"
.string "I have a hobby--collecting the profiles\n" .string "I have a hobby--collecting the profiles\n"
.string "of POKéMON TRAINERS.$" .string "of POKéMON TRAINERS.$"
PetalburgCity_PokemonCenter_1F_Text_2916FF: @ 82916FF MysteryEventClub_Text_2916FF: @ 82916FF
.string "So, how about it?\n" .string "So, how about it?\n"
.string "May I see your profile?$" .string "May I see your profile?$"
PetalburgCity_PokemonCenter_1F_Text_291729: @ 8291729 MysteryEventClub_Text_EasyChatExplanation: @ 8291729
.string "You make your own profile by putting\n" .string "You make your own profile by putting\n"
.string "together four words or phrases.\p" .string "together four words or phrases.\p"
.string "Here, I'll show you an example of a\n" .string "Here, I'll show you an example of a\n"
@@ -123,37 +123,37 @@ PetalburgCity_PokemonCenter_1F_Text_291729: @ 8291729
.string "Repeat for the remaining text choices,\n" .string "Repeat for the remaining text choices,\n"
.string "and you'll have your very own profile.$" .string "and you'll have your very own profile.$"
PetalburgCity_PokemonCenter_1F_Text_291969: @ 8291969 MysteryEventClub_Text_291969: @ 8291969
.string "Yes! Thank you!\n" .string "Yes! Thank you!\n"
.string "So, let's see it, then.$" .string "So, let's see it, then.$"
PetalburgCity_PokemonCenter_1F_Text_291991: @ 8291991 MysteryEventClub_Text_291991: @ 8291991
.string "Oh, no, really?\p" .string "Oh, no, really?\p"
.string "I imagine someone like you would have\n" .string "I imagine someone like you would have\n"
.string "a wonderful profile…$" .string "a wonderful profile…$"
PetalburgCity_PokemonCenter_1F_Text_2919DC: @ 82919DC MysteryEventClub_Text_2919DC: @ 82919DC
.string "Oh? You're not into it right now?\p" .string "Oh? You're not into it right now?\p"
.string "Well, anytime is good by me!$" .string "Well, anytime is good by me!$"
PetalburgCity_PokemonCenter_1F_Text_291A1B: @ 8291A1B MysteryEventClub_Text_YouHaveWonderfulSmile: @ 8291A1B
.string "Hello there, TRAINER!\n" .string "Hello there, TRAINER!\n"
.string "You've got a wonderful smile.$" .string "You've got a wonderful smile.$"
PetalburgCity_PokemonCenter_1F_Text_291A4F: @ 8291A4F MysteryEventClub_Text_MayISeeYourNewProfile: @ 8291A4F
.string "May I see your new profile?$" .string "May I see your new profile?$"
PetalburgCity_PokemonCenter_1F_Text_291A6B: @ 8291A6B MysteryEventClub_Text_291A6B: @ 8291A6B
.string "Yes! Thank you!\p" .string "Yes! Thank you!\p"
.string "I hope it's even better than the profile\n" .string "I hope it's even better than the profile\n"
.string "you showed me before.$" .string "you showed me before.$"
PetalburgCity_PokemonCenter_1F_Text_291ABA: @ 8291ABA MysteryEventClub_Text_291ABA: @ 8291ABA
.string "Oh, you like your profile the way it is.\p" .string "Oh, you like your profile the way it is.\p"
.string "I don't blame you--it's a wonderful\n" .string "I don't blame you--it's a wonderful\n"
.string "profile the way it is now.$" .string "profile the way it is now.$"
PetalburgCity_PokemonCenter_1F_Text_291B22: @ 8291B22 MysteryEventClub_Text_291B22: @ 8291B22
.string "F-fantastic!\p" .string "F-fantastic!\p"
.string "Your profile, it's wonderful!\n" .string "Your profile, it's wonderful!\n"
.string "It really says what you're about.\p" .string "It really says what you're about.\p"
@@ -161,7 +161,7 @@ PetalburgCity_PokemonCenter_1F_Text_291B22: @ 8291B22
.string "be captivated by you!\p" .string "be captivated by you!\p"
.string "Thank you!$" .string "Thank you!$"
PetalburgCity_PokemonCenter_1F_Text_291BB7: @ 8291BB7 MysteryEventClub_Text_291BB7: @ 8291BB7
.string "Oh?\n" .string "Oh?\n"
.string "You know the secret saying!\p" .string "You know the secret saying!\p"
.string "That means you're now a fellow member\n" .string "That means you're now a fellow member\n"