Document Fuchsia City scripts
This commit is contained in:
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"id": "MAP_FUCHSIA_CITY_WARDENS_HOUSE",
|
||||
"name": "FuchsiaCity_WardensHouse",
|
||||
"layout": "LAYOUT_FUCHSIA_CITY_WARDENS_HOUSE",
|
||||
"music": "MUS_HANADA",
|
||||
"region_map_section": "MAPSEC_FUCHSIA_CITY",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_8",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 0,
|
||||
"elevator_flag": 0,
|
||||
"battle_scene": "BATTLE_SCENE_0",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_OLD_MAN_2",
|
||||
"x": 3,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "FuchsiaCity_WardensHouse_EventScript_Warden",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_STRENGTH_BOULDER",
|
||||
"x": 11,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "EventScript_InteractWithStrengthBoulderObject",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_ITEM_BALL",
|
||||
"x": 11,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "FuchsiaCity_WardensHouse_EventScript_ItemRareCandy",
|
||||
"flag": "FLAG_HIDE_FUCHSIA_CITY_WARDENS_HOUSE_RARE_CANDY"
|
||||
},
|
||||
{
|
||||
"graphics_id": "0",
|
||||
"x": 4,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "FuchsiaCity_WardensHouse_EventScript_PokemonJournalKoga",
|
||||
"flag": "FLAG_HIDE_FAME_CHECKER_KOGA_JOURNAL"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 5,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_FUCHSIA_CITY",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 6,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_FUCHSIA_CITY",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 7,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_FUCHSIA_CITY",
|
||||
"dest_warp_id": 1
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 7,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"script": "FuchsiaCity_WardensHouse_EventScript_DisplaySign2"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 4,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"script": "FuchsiaCity_WardensHouse_EventScript_DisplaySign1"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 5,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"script": "FuchsiaCity_WardensHouse_EventScript_DisplaySign1"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 6,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"script": "FuchsiaCity_WardensHouse_EventScript_DisplaySign2"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
FuchsiaCity_WardensHouse_MapScripts:: @ 816D74B
|
||||
.byte 0
|
||||
|
||||
FuchsiaCity_WardensHouse_EventScript_Warden:: @ 816D74C
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_GOT_HM04, FuchsiaCity_WardensHouse_EventScript_ExplainStrength
|
||||
goto_if_set FLAG_HIDE_SAFARI_ZONE_WEST_GOLD_TEETH, FuchsiaCity_WardensHouse_EventScript_GiveGoldTeeth
|
||||
msgbox FuchsiaCity_WardensHouse_Text_HifFuffHefifoo, MSGBOX_YESNO
|
||||
compare VAR_RESULT, YES
|
||||
call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenYes
|
||||
compare VAR_RESULT, NO
|
||||
call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenNo
|
||||
release
|
||||
end
|
||||
|
||||
FuchsiaCity_WardensHouse_EventScript_GiveGoldTeeth:: @ 816D780
|
||||
textcolor 3
|
||||
playfanfare MUS_ME_WAZA
|
||||
message FuchsiaCity_WardensHouse_Text_GaveGoldTeethToWarden
|
||||
waitmessage
|
||||
waitfanfare
|
||||
msgbox FuchsiaCity_WardensHouse_Text_WardenPoppedInHisTeeth
|
||||
call EventScript_1A6675
|
||||
checkplayergender
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenThanksMale
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenThanksFemale
|
||||
giveitem_msg FuchsiaCity_WardensHouse_Text_ReceivedHM04FromWarden, ITEM_HM04
|
||||
setflag FLAG_GOT_HM04
|
||||
removeitem ITEM_GOLD_TEETH, 1
|
||||
release
|
||||
end
|
||||
|
||||
FuchsiaCity_WardensHouse_EventScript_WardenThanksMale:: @ 816D7D6
|
||||
msgbox FuchsiaCity_WardensHouse_Text_ThanksSonGiveYouSomething
|
||||
return
|
||||
|
||||
FuchsiaCity_WardensHouse_EventScript_WardenThanksFemale:: @ 816D7DF
|
||||
msgbox FuchsiaCity_WardensHouse_Text_ThanksLassieGiveYouSomething
|
||||
return
|
||||
|
||||
FuchsiaCity_WardensHouse_EventScript_WardenYes:: @ 816D7E8
|
||||
msgbox FuchsiaCity_WardensHouse_Text_AhHowheeHoHoo
|
||||
return
|
||||
|
||||
FuchsiaCity_WardensHouse_EventScript_WardenNo:: @ 816D7F1
|
||||
msgbox FuchsiaCity_WardensHouse_Text_HeOhayHeHaHoo
|
||||
return
|
||||
|
||||
FuchsiaCity_WardensHouse_EventScript_ExplainStrength:: @ 816D7FA
|
||||
msgbox FuchsiaCity_WardensHouse_Text_ExplainStrength
|
||||
release
|
||||
end
|
||||
|
||||
FuchsiaCity_WardensHouse_EventScript_DisplaySign1:: @ 816D804
|
||||
msgbox FuchsiaCity_WardensHouse_Text_MonPhotosFossilsOnDisplay, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
FuchsiaCity_WardensHouse_EventScript_DisplaySign2:: @ 816D80D
|
||||
msgbox FuchsiaCity_WardensHouse_Text_OldMonMerchandiseOnDisplay, MSGBOX_SIGN
|
||||
end
|
||||
@@ -0,0 +1,65 @@
|
||||
FuchsiaCity_WardensHouse_Text_HifFuffHefifoo:: @ 8198DF9
|
||||
.string "WARDEN: Hif fuff hefifoo!\p"
|
||||
.string "Ha lof ha feef ee hafahi ho.\n"
|
||||
.string "Heff hee fwee!$"
|
||||
|
||||
FuchsiaCity_WardensHouse_Text_AhHowheeHoHoo:: @ 8198E3F
|
||||
.string "Ah howhee ho hoo!\n"
|
||||
.string "Eef ee hafahi ho!$"
|
||||
|
||||
FuchsiaCity_WardensHouse_Text_HeOhayHeHaHoo:: @ 8198E63
|
||||
.string "Ha?\n"
|
||||
.string "He ohay heh ha hoo ee haheh!$"
|
||||
|
||||
FuchsiaCity_WardensHouse_Text_GaveGoldTeethToWarden:: @ 8198E84
|
||||
.string "{PLAYER} gave the GOLD TEETH\n"
|
||||
.string "to the WARDEN.$"
|
||||
|
||||
FuchsiaCity_WardensHouse_Text_WardenPoppedInHisTeeth:: @ 8198EAA
|
||||
.string "The WARDEN popped in his teeth!$"
|
||||
|
||||
FuchsiaCity_WardensHouse_Text_ThanksSonGiveYouSomething:: @ 8198ECA
|
||||
.string "WARDEN: Thanks, son!\n"
|
||||
.string "You're a real lifesaver!\p"
|
||||
.string "No one could understand a word\n"
|
||||
.string "that I said, not a one!\p"
|
||||
.string "I was too ashamed to show my face\n"
|
||||
.string "around the OFFICE, even.\p"
|
||||
.string "Let me give you something for your\n"
|
||||
.string "trouble.$"
|
||||
|
||||
FuchsiaCity_WardensHouse_Text_ThanksLassieGiveYouSomething:: @ 8198F96
|
||||
.string "WARDEN: Thank you, lassie!\n"
|
||||
.string "You're a real lifesaver!\p"
|
||||
.string "No one could understand a word\n"
|
||||
.string "that I said, not a one!\p"
|
||||
.string "I was too ashamed to show my face\n"
|
||||
.string "around the OFFICE, even.\p"
|
||||
.string "Let me give you something for your\n"
|
||||
.string "trouble.$"
|
||||
|
||||
FuchsiaCity_WardensHouse_Text_ReceivedHM04FromWarden:: @ 8199068
|
||||
.string "{PLAYER} received HM04\n"
|
||||
.string "from the WARDEN.$"
|
||||
|
||||
FuchsiaCity_WardensHouse_Text_ExplainStrength:: @ 819908A
|
||||
.string "WARDEN: Inside HM04 you'll find\n"
|
||||
.string "STRENGTH.\p"
|
||||
.string "It lets POKéMON move boulders when\n"
|
||||
.string "you're outside of battle.\p"
|
||||
.string "Oh yes, did you find the SECRET\n"
|
||||
.string "HOUSE in the SAFARI ZONE?$"
|
||||
|
||||
@ Unused
|
||||
FuchsiaCity_WardensHouse_Text_YouHaveTooMuchStuff:: @ 819912B
|
||||
.string "なんや にもつ\n"
|
||||
.string "いっぱいやんけ!$"
|
||||
|
||||
FuchsiaCity_WardensHouse_Text_MonPhotosFossilsOnDisplay:: @ 819913C
|
||||
.string "POKéMON photos and fossils are on\n"
|
||||
.string "display.$"
|
||||
|
||||
FuchsiaCity_WardensHouse_Text_OldMonMerchandiseOnDisplay:: @ 8199167
|
||||
.string "Old POKéMON merchandise is on\n"
|
||||
.string "display.$"
|
||||
|
||||
Reference in New Issue
Block a user