mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
432df825d4
Updated macros that rely on the GROUP_, MAP_ constants to use the map macro Added GROUP_NONE and MAP_NONE for the sake of compatibility with this new scheme Added new macro elevfloor to simplify the definition of elevators under this new scheme
45 lines
1.1 KiB
NASM
45 lines
1.1 KiB
NASM
MountMortar1FOutside_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
ItemFragment_0x7ddf6:
|
|
db ETHER, 1
|
|
|
|
ItemFragment_0x7ddf8:
|
|
db REVIVE, 1
|
|
|
|
MapMountMortar1FOutsideSignpostItem0:
|
|
dwb EVENT_MOUNT_MORTAR_1F_OUTSIDE_HIDDEN_HYPER_POTION, HYPER_POTION
|
|
|
|
|
|
MountMortar1FOutside_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 9
|
|
warp_def $21, $3, 3, ROUTE_42
|
|
warp_def $21, $11, 4, ROUTE_42
|
|
warp_def $21, $25, 5, ROUTE_42
|
|
warp_def $5, $11, 1, MOUNT_MORTAR_2F_INSIDE
|
|
warp_def $15, $b, 1, MOUNT_MORTAR_1F_INSIDE
|
|
warp_def $15, $1d, 2, MOUNT_MORTAR_1F_INSIDE
|
|
warp_def $1d, $11, 2, MOUNT_MORTAR_B1F
|
|
warp_def $d, $7, 3, MOUNT_MORTAR_1F_INSIDE
|
|
warp_def $d, $21, 4, MOUNT_MORTAR_1F_INSIDE
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 1
|
|
signpost 22, 25, SIGNPOST_ITEM, MapMountMortar1FOutsideSignpostItem0
|
|
|
|
.PersonEvents:
|
|
db 2
|
|
person_event SPRITE_POKE_BALL, 19, 17, OW_DOWN | $1, $0, -1, -1, $1, 0, ItemFragment_0x7ddf6, EVENT_MOUNT_MORTAR_1F_OUTSIDE_ETHER
|
|
person_event SPRITE_POKE_BALL, 22, 35, OW_DOWN | $1, $0, -1, -1, $1, 0, ItemFragment_0x7ddf8, EVENT_MOUNT_MORTAR_1F_OUTSIDE_REVIVE
|