pokecrystal-board/maps/RockTunnel1F.asm
2015-12-09 11:57:08 -05:00

51 lines
1.2 KiB
NASM

const_value set 2
const ROCKTUNNEL1F_POKE_BALL1
const ROCKTUNNEL1F_POKE_BALL2
RockTunnel1F_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
ItemFragment_0x743b5:
itemfragment ELIXER
ItemFragment_0x743b7:
itemfragment TM_STEEL_WING
MapRockTunnel1FSignpostItem0:
dwb EVENT_ROCK_TUNNEL_1F_HIDDEN_X_ACCURACY, X_ACCURACY
MapRockTunnel1FSignpostItem1:
dwb EVENT_ROCK_TUNNEL_1F_HIDDEN_X_DEFEND, X_DEFEND
RockTunnel1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 6
warp_def $3, $f, 1, ROUTE_9
warp_def $19, $b, 1, ROUTE_10_SOUTH
warp_def $3, $5, 3, ROCK_TUNNEL_B1F
warp_def $9, $f, 2, ROCK_TUNNEL_B1F
warp_def $3, $1b, 4, ROCK_TUNNEL_B1F
warp_def $d, $1b, 1, ROCK_TUNNEL_B1F
.XYTriggers:
db 0
.Signposts:
db 2
signpost 4, 24, SIGNPOST_ITEM, MapRockTunnel1FSignpostItem0
signpost 15, 21, SIGNPOST_ITEM, MapRockTunnel1FSignpostItem1
.PersonEvents:
db 2
person_event SPRITE_POKE_BALL, 18, 4, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x743b5, EVENT_ROCK_TUNNEL_1F_ELIXER
person_event SPRITE_POKE_BALL, 15, 10, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x743b7, EVENT_ROCK_TUNNEL_1F_TM_STEEL_WING