pokeemerald/data/maps/PetalburgCity_PokemonCenter_1F/scripts.inc

100 lines
3.4 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
PetalburgCity_PokemonCenter_1F_MapScripts:: @ 82079E8
map_script MAP_SCRIPT_ON_TRANSITION, PetalburgCity_PokemonCenter_1F_OnTransition
2019-10-12 04:23:05 +02:00
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
2017-11-10 02:21:31 +01:00
.byte 0
PetalburgCity_PokemonCenter_1F_OnTransition: @ 82079F3
setrespawn HEAL_LOCATION_PETALBURG_CITY
2019-08-15 05:38:42 +02:00
call Common_EventScript_UpdateBrineyLocation
2017-11-10 02:21:31 +01:00
end
2019-11-03 18:29:41 +01:00
@ VAR_0x800B is the Nurse's object event id
2019-10-20 19:27:23 +02:00
PetalburgCity_PokemonCenter_1F_EventScript_Nurse:: @ 82079FC
2017-11-10 02:21:31 +01:00
setvar VAR_0x800B, 1
2019-08-15 05:38:42 +02:00
call Common_EventScript_PkmnCenterNurse
2017-11-10 02:21:31 +01:00
waitmessage
waitbuttonpress
release
end
2019-10-20 19:27:23 +02:00
PetalburgCity_PokemonCenter_1F_EventScript_FatMan:: @ 8207A0A
msgbox PetalburgCity_PokemonCenter_1F_Text_PCStorageSystem, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2019-10-20 19:27:23 +02:00
PetalburgCity_PokemonCenter_1F_EventScript_Youngster:: @ 8207A13
msgbox PetalburgCity_PokemonCenter_1F_Text_OranBerryRegainedHP, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2019-10-20 19:27:23 +02:00
PetalburgCity_PokemonCenter_1F_EventScript_Woman:: @ 8207A1C
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-10-20 19:27:23 +02:00
msgbox PetalburgCity_PokemonCenter_1F_Text_ManyTypesOfPokemon, MSGBOX_DEFAULT
specialvar VAR_RESULT, IsStarterInParty
compare VAR_RESULT, 1
2019-10-20 19:27:23 +02:00
goto_if_eq PetalburgCity_PokemonCenter_1F_EventScript_SayStarterTypeInfo
2017-11-10 02:21:31 +01:00
release
end
2019-10-20 19:27:23 +02:00
PetalburgCity_PokemonCenter_1F_EventScript_SayStarterTypeInfo:: @ 8207A38
compare VAR_STARTER_MON, 0
2019-10-20 19:27:23 +02:00
call_if_eq PetalburgCity_PokemonCenter_1F_EventScript_SayTreeckoType
compare VAR_STARTER_MON, 1
2019-10-20 19:27:23 +02:00
call_if_eq PetalburgCity_PokemonCenter_1F_EventScript_SayTorchicType
compare VAR_STARTER_MON, 2
2019-10-20 19:27:23 +02:00
call_if_eq PetalburgCity_PokemonCenter_1F_EventScript_SayMudkipType
2017-11-10 02:21:31 +01:00
release
end
2019-10-20 19:27:23 +02:00
PetalburgCity_PokemonCenter_1F_EventScript_SayTreeckoType:: @ 8207A5B
msgbox PetalburgCity_PokemonCenter_1F_Text_TreeckoIsGrassType, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
2019-10-20 19:27:23 +02:00
PetalburgCity_PokemonCenter_1F_EventScript_SayTorchicType:: @ 8207A64
msgbox PetalburgCity_PokemonCenter_1F_Text_TorchicIsFireType, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
2019-10-20 19:27:23 +02:00
PetalburgCity_PokemonCenter_1F_EventScript_SayMudkipType:: @ 8207A6D
msgbox PetalburgCity_PokemonCenter_1F_Text_MudkipIsWaterType, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
2019-10-20 19:27:23 +02:00
PetalburgCity_PokemonCenter_1F_Text_PCStorageSystem: @ 8207A76
2017-11-10 02:21:31 +01:00
.string "That PC-based POKéMON Storage\n"
.string "System…\p"
.string "Whoever made it must be some kind\n"
.string "of a scientific wizard!$"
2019-10-20 19:27:23 +02:00
PetalburgCity_PokemonCenter_1F_Text_OranBerryRegainedHP: @ 8207AD6
2017-11-10 02:21:31 +01:00
.string "When my POKéMON ate an\n"
.string "ORAN BERRY, it regained HP!$"
2019-10-20 19:27:23 +02:00
PetalburgCity_PokemonCenter_1F_Text_ManyTypesOfPokemon: @ 8207B09
2017-11-10 02:21:31 +01:00
.string "There are many types of POKéMON.\p"
.string "All types have their strengths and\n"
.string "weaknesses against other types.\p"
.string "Depending on the types of POKéMON,\n"
.string "a battle could be easy or hard.$"
2019-10-20 19:27:23 +02:00
PetalburgCity_PokemonCenter_1F_Text_TreeckoIsGrassType: @ 8207BB0
2017-11-10 02:21:31 +01:00
.string "For example, your TREECKO\n"
.string "is a GRASS type.\p"
2018-12-07 16:41:08 +01:00
.string "It's strong against the WATER and\n"
2017-11-10 02:21:31 +01:00
.string "GROUND types.\p"
2018-12-07 16:41:08 +01:00
.string "But, it's weak against FIRE-type\n"
2017-11-10 02:21:31 +01:00
.string "POKéMON.$"
2019-10-20 19:27:23 +02:00
PetalburgCity_PokemonCenter_1F_Text_TorchicIsFireType: @ 8207C35
2017-11-10 02:21:31 +01:00
.string "For example, your TORCHIC\n"
.string "is a FIRE type.\p"
2018-12-07 16:41:08 +01:00
.string "It's strong against the GRASS and\n"
2017-11-10 02:21:31 +01:00
.string "BUG types.\p"
2018-12-07 16:41:08 +01:00
.string "But, it's weak against WATER-type\n"
2017-11-10 02:21:31 +01:00
.string "POKéMON.$"
2019-10-20 19:27:23 +02:00
PetalburgCity_PokemonCenter_1F_Text_MudkipIsWaterType: @ 8207CB7
2017-11-10 02:21:31 +01:00
.string "For example, your MUDKIP\n"
.string "is a WATER type.\p"
2018-12-07 16:41:08 +01:00
.string "It's strong against the FIRE type.\p"
.string "But, it's weak against GRASS-type\n"
2017-11-10 02:21:31 +01:00
.string "and ELECTRIC-type POKéMON.$"