mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-19 11:36:51 -05:00
41 lines
1.2 KiB
PHP
41 lines
1.2 KiB
PHP
CeladonCity_Restaurant_MapScripts::
|
|
.byte 0
|
|
|
|
CeladonCity_Restaurant_EventScript_Chef::
|
|
msgbox CeladonCity_Restaurant_Text_TakingBreakRightNow, MSGBOX_NPC
|
|
end
|
|
|
|
CeladonCity_Restaurant_EventScript_Woman::
|
|
msgbox CeladonCity_Restaurant_Text_OftenGoToDrugstore, MSGBOX_NPC
|
|
end
|
|
|
|
CeladonCity_Restaurant_EventScript_CoinCaseMan::
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_GOT_COIN_CASE, CeladonCity_Restaurant_EventScript_AlreadyGotCoinCase
|
|
msgbox CeladonCity_Restaurant_Text_TakeThisImBusted
|
|
checkitemspace ITEM_COIN_CASE
|
|
goto_if_eq VAR_RESULT, FALSE, CeladonCity_Restaurant_EventScript_NoRoomForCoinCase
|
|
giveitem_msg CeladonCity_Restaurant_Text_ReceivedCoinCaseFromMan, ITEM_COIN_CASE
|
|
setflag FLAG_GOT_COIN_CASE
|
|
release
|
|
end
|
|
|
|
CeladonCity_Restaurant_EventScript_NoRoomForCoinCase::
|
|
msgbox CeladonCity_Restaurant_Text_MakeRoomForThis
|
|
release
|
|
end
|
|
|
|
CeladonCity_Restaurant_EventScript_AlreadyGotCoinCase::
|
|
msgbox CeladonCity_Restaurant_Text_ThoughtIdWinItBack
|
|
release
|
|
end
|
|
|
|
CeladonCity_Restaurant_EventScript_WorkerM::
|
|
msgbox CeladonCity_Restaurant_Text_PsstBasementUnderGameCorner, MSGBOX_NPC
|
|
end
|
|
|
|
CeladonCity_Restaurant_EventScript_FatMan::
|
|
msgbox CeladonCity_Restaurant_Text_ManLostItAllAtSlots, MSGBOX_NPC
|
|
end
|