mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-13 07:48:23 -05:00
33 lines
1008 B
PHP
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
|