pokefirered/data/maps/FuchsiaCity_House2/scripts.inc
2020-01-19 23:41:58 -05:00

35 lines
1.1 KiB
PHP

FuchsiaCity_House2_MapScripts:: @ 816D816
.byte 0
FuchsiaCity_House2_EventScript_FishingGurusBrother:: @ 816D817
lock
faceplayer
goto_if_set FLAG_GOT_GOOD_ROD, FuchsiaCity_House2_EventScript_AlreadyGotGoodRod
msgbox FuchsiaCity_House2_Text_DoYouLikeToFish, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq FuchsiaCity_House2_EventScript_GiveGoodRod
msgbox FuchsiaCity_House2_Text_OhThatsDisappointing
release
end
FuchsiaCity_House2_EventScript_AlreadyGotGoodRod:: @ 816D83F
msgbox FuchsiaCity_House2_Text_HowAreTheFishBiting
release
end
FuchsiaCity_House2_EventScript_GiveGoodRod:: @ 816D849
msgbox FuchsiaCity_House2_Text_LikeYourStyleTakeThis
checkitemspace ITEM_GOOD_ROD, 1
compare VAR_RESULT, FALSE
goto_if_eq FuchsiaCity_House2_EventScript_NoRoomForGoodRod
giveitem_msg FuchsiaCity_House2_Text_ReceivedGoodRod, ITEM_GOOD_ROD
msgbox FuchsiaCity_House2_Text_GoodRodCanCatchBetterMons
setflag FLAG_GOT_GOOD_ROD
release
end
FuchsiaCity_House2_EventScript_NoRoomForGoodRod:: @ 816D88A
msgbox FuchsiaCity_House2_Text_YouHaveNoRoomForGift
release
end