pokefirered/data/maps/FuchsiaCity_House2/scripts.inc
2022-08-09 20:41:54 -04:00

33 lines
1008 B
PHP

FuchsiaCity_House2_MapScripts::
.byte 0
FuchsiaCity_House2_EventScript_FishingGurusBrother::
lock
faceplayer
goto_if_set FLAG_GOT_GOOD_ROD, FuchsiaCity_House2_EventScript_AlreadyGotGoodRod
msgbox FuchsiaCity_House2_Text_DoYouLikeToFish, MSGBOX_YESNO
goto_if_eq VAR_RESULT, YES, FuchsiaCity_House2_EventScript_GiveGoodRod
msgbox FuchsiaCity_House2_Text_OhThatsDisappointing
release
end
FuchsiaCity_House2_EventScript_AlreadyGotGoodRod::
msgbox FuchsiaCity_House2_Text_HowAreTheFishBiting
release
end
FuchsiaCity_House2_EventScript_GiveGoodRod::
msgbox FuchsiaCity_House2_Text_LikeYourStyleTakeThis
checkitemspace ITEM_GOOD_ROD
goto_if_eq VAR_RESULT, FALSE, 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::
msgbox FuchsiaCity_House2_Text_YouHaveNoRoomForGift
release
end