Move events and scripts into map dirs

This commit is contained in:
Marcus Huderle
2018-06-20 17:41:41 -05:00
parent 89d35e82a2
commit 135a11e50e
1038 changed files with 1036 additions and 1036 deletions
@@ -0,0 +1,13 @@
ShoalCave_LowTideStairsRoom_EventObjects: @ 8536394
object_event 1, EVENT_OBJ_GFX_ITEM_BALL, 0, 13, 12, 3, 1, 1, 1, 0, 0, ShoalCave_LowTideStairsRoom_EventScript_2913DA, 1083
ShoalCave_LowTideStairsRoom_MapWarps: @ 85363AC
warp_def 3, 12, 3, 1, MAP_SHOAL_CAVE_LOW_TIDE_INNER_ROOM
warp_def 7, 4, 3, 2, MAP_SHOAL_CAVE_LOW_TIDE_INNER_ROOM
ShoalCave_LowTideStairsRoom_MapBGEvents: @ 85363BC
bg_event 11, 11, 3, 0, 0, ShoalCave_LowTideStairsRoom_EventScript_23711A
ShoalCave_LowTideStairsRoom_MapEvents:: @ 85363C8
map_events ShoalCave_LowTideStairsRoom_EventObjects, ShoalCave_LowTideStairsRoom_MapWarps, 0x0, ShoalCave_LowTideStairsRoom_MapBGEvents
@@ -0,0 +1,35 @@
ShoalCave_LowTideStairsRoom_MapScripts:: @ 82370FA
map_script 1, ShoalCave_LowTideStairsRoom_MapScript1_237100
.byte 0
ShoalCave_LowTideStairsRoom_MapScript1_237100: @ 8237100
call ShoalCave_LowTideStairsRoom_EventScript_237106
end
ShoalCave_LowTideStairsRoom_EventScript_237106:: @ 8237106
checkflag FLAG_0x3BA
goto_eq ShoalCave_LowTideStairsRoom_EventScript_237119
setmetatile 11, 11, 856, 1
return
ShoalCave_LowTideStairsRoom_EventScript_237119:: @ 8237119
return
ShoalCave_LowTideStairsRoom_EventScript_23711A:: @ 823711A
lockall
checkflag FLAG_0x3BA
goto_eq ShoalCave_LowTideStairsRoom_EventScript_23714C
giveitem_std ITEM_SHOAL_SALT
compare VAR_RESULT, 0
goto_eq ShoalCave_LowTideStairsRoom_EventScript_272054
setmetatile 11, 11, 858, 0
special DrawWholeMapView
setflag FLAG_0x3BA
releaseall
end
ShoalCave_LowTideStairsRoom_EventScript_23714C:: @ 823714C
msgbox ShoalCave_LowTideStairsRoom_Text_2A8169, 4
releaseall
end