Files
pokeemerald/data/maps/MossdeepCity_House3/scripts.inc
2024-07-05 07:31:42 -04:00

40 lines
1.1 KiB
PHP

MossdeepCity_House3_MapScripts::
.byte 0
MossdeepCity_House3_EventScript_SuperRodFisherman::
lock
faceplayer
goto_if_set FLAG_RECEIVED_SUPER_ROD, MossdeepCity_House3_EventScript_ReceivedSuperRod
msgbox MossdeepCity_House3_Text_YouWantSuperRod, MSGBOX_YESNO
goto_if_eq VAR_RESULT, NO, MossdeepCity_House3_EventScript_DeclineSuperRod
msgbox MossdeepCity_House3_Text_SuperRodIsSuper, MSGBOX_DEFAULT
giveitem ITEM_SUPER_ROD
setflag FLAG_RECEIVED_SUPER_ROD
msgbox MossdeepCity_House3_Text_TryDroppingRodInWater, MSGBOX_DEFAULT
release
end
MossdeepCity_House3_EventScript_ReceivedSuperRod::
msgbox MossdeepCity_House3_Text_GoAfterSeafloorPokemon, MSGBOX_DEFAULT
release
end
MossdeepCity_House3_EventScript_DeclineSuperRod::
msgbox MossdeepCity_House3_Text_DontYouLikeToFish, MSGBOX_DEFAULT
release
end
.ifdef FRENCH
.include "data/maps/MossdeepCity_House3/text_fr.inc"
.else
.ifdef ITALIAN
.include "data/maps/MossdeepCity_House3/text_it.inc"
.else
.ifdef SPANISH
.include "data/maps/MossdeepCity_House3/text_es.inc"
.else
.include "data/maps/MossdeepCity_House3/text.inc"
.endif
.endif
.endif