2017-11-10 02:21:31 +01:00
|
|
|
ShoalCave_LowTideInnerRoom_MapScripts:: @ 8236EF5
|
|
|
|
map_script 1, ShoalCave_LowTideInnerRoom_MapScript1_236F16
|
|
|
|
map_script 3, ShoalCave_LowTideInnerRoom_MapScript1_236F00
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_MapScript1_236F00: @ 8236F00
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_set FLAG_SYS_SHOAL_TIDE, ShoalCave_LowTideInnerRoom_EventScript_236F0E
|
2017-11-10 02:21:31 +01:00
|
|
|
goto ShoalCave_LowTideInnerRoom_EventScript_236F12
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_236F0E:: @ 8236F0E
|
2019-01-31 22:51:20 +01:00
|
|
|
setmaplayoutindex LAYOUT_SHOAL_CAVE_HIGH_TIDE_INNER_ROOM
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_236F12:: @ 8236F12
|
2019-01-31 22:51:20 +01:00
|
|
|
setmaplayoutindex LAYOUT_SHOAL_CAVE_LOW_TIDE_INNER_ROOM
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_MapScript1_236F16: @ 8236F16
|
|
|
|
call ShoalCave_LowTideInnerRoom_EventScript_236F1C
|
|
|
|
end
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_236F1C:: @ 8236F1C
|
2019-01-03 02:54:55 +01:00
|
|
|
goto_if_set FLAG_RECEIVED_SHOAL_SALT_1, ShoalCave_LowTideInnerRoom_EventScript_236F3D
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_set FLAG_SYS_SHOAL_TIDE, ShoalCave_LowTideInnerRoom_EventScript_236F3D
|
2017-11-10 02:21:31 +01:00
|
|
|
setmetatile 31, 8, 856, 1
|
|
|
|
goto ShoalCave_LowTideInnerRoom_EventScript_236F3D
|
|
|
|
end
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_236F3D:: @ 8236F3D
|
2019-01-03 02:54:55 +01:00
|
|
|
goto_if_set FLAG_RECEIVED_SHOAL_SALT_2, ShoalCave_LowTideInnerRoom_EventScript_236F5E
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_set FLAG_SYS_SHOAL_TIDE, ShoalCave_LowTideInnerRoom_EventScript_236F5E
|
2017-11-10 02:21:31 +01:00
|
|
|
setmetatile 14, 26, 856, 1
|
|
|
|
goto ShoalCave_LowTideInnerRoom_EventScript_236F5E
|
|
|
|
end
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_236F5E:: @ 8236F5E
|
2019-01-03 02:54:55 +01:00
|
|
|
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_1, ShoalCave_LowTideInnerRoom_EventScript_236F76
|
2017-11-10 02:21:31 +01:00
|
|
|
setmetatile 41, 20, 857, 1
|
|
|
|
goto ShoalCave_LowTideInnerRoom_EventScript_236F76
|
|
|
|
end
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_236F76:: @ 8236F76
|
2019-01-03 02:54:55 +01:00
|
|
|
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_2, ShoalCave_LowTideInnerRoom_EventScript_236F8E
|
2017-11-10 02:21:31 +01:00
|
|
|
setmetatile 41, 10, 857, 1
|
|
|
|
goto ShoalCave_LowTideInnerRoom_EventScript_236F8E
|
|
|
|
end
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_236F8E:: @ 8236F8E
|
2019-01-03 02:54:55 +01:00
|
|
|
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_3, ShoalCave_LowTideInnerRoom_EventScript_236FA6
|
2017-11-10 02:21:31 +01:00
|
|
|
setmetatile 6, 9, 857, 1
|
|
|
|
goto ShoalCave_LowTideInnerRoom_EventScript_236FA6
|
|
|
|
end
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_236FA6:: @ 8236FA6
|
2019-01-03 02:54:55 +01:00
|
|
|
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_4, ShoalCave_LowTideInnerRoom_EventScript_236FB9
|
2017-11-10 02:21:31 +01:00
|
|
|
setmetatile 16, 13, 857, 1
|
|
|
|
return
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_236FB9:: @ 8236FB9
|
|
|
|
return
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_236FBA:: @ 8236FBA
|
|
|
|
lockall
|
2019-01-03 02:54:55 +01:00
|
|
|
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_1, ShoalCave_LowTideInnerRoom_EventScript_236FEC
|
2017-11-10 02:21:31 +01:00
|
|
|
giveitem_std ITEM_SHOAL_SHELL
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq ShoalCave_LowTideInnerRoom_EventScript_272054
|
2017-11-10 02:21:31 +01:00
|
|
|
setmetatile 41, 20, 859, 0
|
|
|
|
special DrawWholeMapView
|
2019-01-03 02:54:55 +01:00
|
|
|
setflag FLAG_RECEIVED_SHOAL_SHELL_1
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_236FEC:: @ 8236FEC
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox ShoalCave_LowTideInnerRoom_Text_2A81A8, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_236FF6:: @ 8236FF6
|
|
|
|
lockall
|
2019-01-03 02:54:55 +01:00
|
|
|
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_2, ShoalCave_LowTideInnerRoom_EventScript_236FEC
|
2017-11-10 02:21:31 +01:00
|
|
|
giveitem_std ITEM_SHOAL_SHELL
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq ShoalCave_LowTideInnerRoom_EventScript_272054
|
2017-11-10 02:21:31 +01:00
|
|
|
setmetatile 41, 10, 859, 0
|
|
|
|
special DrawWholeMapView
|
2019-01-03 02:54:55 +01:00
|
|
|
setflag FLAG_RECEIVED_SHOAL_SHELL_2
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_237028:: @ 8237028
|
|
|
|
lockall
|
2019-01-03 02:54:55 +01:00
|
|
|
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_3, ShoalCave_LowTideInnerRoom_EventScript_236FEC
|
2017-11-10 02:21:31 +01:00
|
|
|
giveitem_std ITEM_SHOAL_SHELL
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq ShoalCave_LowTideInnerRoom_EventScript_272054
|
2017-11-10 02:21:31 +01:00
|
|
|
setmetatile 6, 9, 859, 0
|
|
|
|
special DrawWholeMapView
|
2019-01-03 02:54:55 +01:00
|
|
|
setflag FLAG_RECEIVED_SHOAL_SHELL_3
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_23705A:: @ 823705A
|
|
|
|
lockall
|
2019-01-03 02:54:55 +01:00
|
|
|
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_4, ShoalCave_LowTideInnerRoom_EventScript_236FEC
|
2017-11-10 02:21:31 +01:00
|
|
|
giveitem_std ITEM_SHOAL_SHELL
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq ShoalCave_LowTideInnerRoom_EventScript_272054
|
2017-11-10 02:21:31 +01:00
|
|
|
setmetatile 16, 13, 859, 0
|
|
|
|
special DrawWholeMapView
|
2019-01-03 02:54:55 +01:00
|
|
|
setflag FLAG_RECEIVED_SHOAL_SHELL_4
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_23708C:: @ 823708C
|
|
|
|
lockall
|
2019-01-03 02:54:55 +01:00
|
|
|
goto_if_set FLAG_RECEIVED_SHOAL_SALT_1, ShoalCave_LowTideInnerRoom_EventScript_2370BE
|
2017-11-10 02:21:31 +01:00
|
|
|
giveitem_std ITEM_SHOAL_SALT
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq ShoalCave_LowTideInnerRoom_EventScript_272054
|
2017-11-10 02:21:31 +01:00
|
|
|
setmetatile 31, 8, 858, 0
|
|
|
|
special DrawWholeMapView
|
2019-01-03 02:54:55 +01:00
|
|
|
setflag FLAG_RECEIVED_SHOAL_SALT_1
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_2370BE:: @ 82370BE
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox ShoalCave_LowTideInnerRoom_Text_2A8169, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
ShoalCave_LowTideInnerRoom_EventScript_2370C8:: @ 82370C8
|
|
|
|
lockall
|
2019-01-03 02:54:55 +01:00
|
|
|
goto_if_set FLAG_RECEIVED_SHOAL_SALT_2, ShoalCave_LowTideInnerRoom_EventScript_2370BE
|
2017-11-10 02:21:31 +01:00
|
|
|
giveitem_std ITEM_SHOAL_SALT
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq ShoalCave_LowTideInnerRoom_EventScript_272054
|
2017-11-10 02:21:31 +01:00
|
|
|
setmetatile 14, 26, 858, 0
|
|
|
|
special DrawWholeMapView
|
2019-01-03 02:54:55 +01:00
|
|
|
setflag FLAG_RECEIVED_SHOAL_SALT_2
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|