2025-04-08 01:07:12 +08:00

55 lines
1.9 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

ShoalCave_LowTideLowerRoom_MapScripts::
map_script MAP_SCRIPT_ON_LOAD, ShoalCave_LowTideLowerRoom_OnLoad
.byte 0
ShoalCave_LowTideLowerRoom_OnLoad:
call ShoalCave_LowTideLowerRoom_EventScript_SetShoalItemMetatiles
end
ShoalCave_LowTideLowerRoom_EventScript_SetShoalItemMetatiles::
goto_if_set FLAG_RECEIVED_SHOAL_SALT_4, ShoalCave_LowTideLowerRoom_EventScript_SetShoalItemMetatilesEnd
setmetatile 18, 2, METATILE_Cave_ShoalCave_DirtPile_Large, TRUE
return
ShoalCave_LowTideLowerRoom_EventScript_SetShoalItemMetatilesEnd::
return
ShoalCave_LowTideLowerRoom_EventScript_ShoalSalt4::
lockall
goto_if_set FLAG_RECEIVED_SHOAL_SALT_4, ShoalCave_LowTideLowerRoom_EventScript_ReceivedShoalSalt
giveitem ITEM_SHOAL_SALT
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
setmetatile 18, 2, METATILE_Cave_ShoalCave_DirtPile_Small, FALSE
special DrawWholeMapView
setflag FLAG_RECEIVED_SHOAL_SALT_4
releaseall
end
ShoalCave_LowTideLowerRoom_EventScript_ReceivedShoalSalt::
msgbox ShoalCave_Text_WasShoalSaltNowNothing, MSGBOX_DEFAULT
releaseall
end
ShoalCave_LowTideLowerRoom_EventScript_BlackBelt::
lock
faceplayer
goto_if_set FLAG_RECEIVED_FOCUS_BAND, ShoalCave_LowTideLowerRoom_EventScript_ReceivedFocusBand
msgbox ShoalCave_LowTideLowerRoom_Text_CanOvercomeColdWithFocus, MSGBOX_DEFAULT
giveitem ITEM_FOCUS_BAND
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_FOCUS_BAND
release
end
ShoalCave_LowTideLowerRoom_EventScript_ReceivedFocusBand::
msgbox ShoalCave_LowTideLowerRoom_Text_EverythingStartsWithFocus, MSGBOX_DEFAULT
release
end
ShoalCave_LowTideLowerRoom_Text_CanOvercomeColdWithFocus:
.string "这里刺骨的寒冷\n妨碍了训练,\p但只要集中精力就能战胜困难\p有了气息头巾静下心来\n与严寒抗争吧!$"
ShoalCave_LowTideLowerRoom_Text_EverythingStartsWithFocus:
.string "只有集中精力才能成功!$"