pokegold-spaceworld/data/maps/objects/Sugar.asm
DrippingYellow 030186d4cf
Some checks failed
CI / build (push) Has been cancelled
Labelling and separating bank01.asm (#117)
* Started labelling dumped bank 1 functions, identified movement values

* Changed all NPCs to use the new movement constants

* Updated the rest of the movement constant instances, removed the old movement_constants.asm

* Ready to deal the finishing blow to bank01.asm

* Bank 01 is no more. Other scattered changes.

* Labelled a few flags and matched a few variables with pokegold

* Finished labelling bank02.asm too while I was at it
2025-07-07 19:02:15 -04:00

30 lines
816 B
NASM

INCLUDE "constants.asm"
SECTION "data/maps/objects/Sugar.asm", ROMX
map_attributes Sugar, SUGAR, SOUTH
connection south, SugarRoute, SUGAR_ROUTE, 0
Sugar_MapEvents::
dw $4000 ; unknown
def_warp_events
warp_event 5, 5, SUGAR_HOUSE, 1, 51
warp_event 15, 9, SUGAR_HOUSE_2, 1, 88
warp_event 5, 10, SUGAR_MART, 1, 99
warp_event 9, 10, SUGAR_POKECENTER_1F, 1, 101
def_bg_events
bg_event 14, 6, 1
bg_event 6, 10, 2
bg_event 10, 10, 3
bg_event 10, 14, 4
def_object_events
object_event 8, 12, SPRITE_TWIN, SPRITEMOVEFN_RANDOM_SPIN, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0
object_event 9, 6, SPRITE_GRANNY, SPRITEMOVEFN_RANDOM_WALK_X, 2, 0, -1, -1, 0, 0, 0, 0, 0, 0
object_event 13, 11, SPRITE_GRAMPS, SPRITEMOVEFN_RANDOM_WALK_XY, 1, 1, -1, -1, 0, 0, 0, 0, 0, 0
Sugar_Blocks::
INCBIN "maps/Sugar.blk"