mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
40902ffe24
This was discussed in #706 It also uncovered some off-by-one issues with defining some constants. A few structs now use rsreset/_RS to define their offset constants, as discussed in #739
38 lines
541 B
NASM
38 lines
541 B
NASM
ElevatorFloorNames:
|
|
; entries correspond to FLOOR_* constants
|
|
table_width 2, ElevatorFloorNames
|
|
dw .B4F
|
|
dw .B3F
|
|
dw .B2F
|
|
dw .B1F
|
|
dw ._1F
|
|
dw ._2F
|
|
dw ._3F
|
|
dw ._4F
|
|
dw ._5F
|
|
dw ._6F
|
|
dw ._7F
|
|
dw ._8F
|
|
dw ._9F
|
|
dw ._10F
|
|
dw ._11F
|
|
dw .ROOF
|
|
assert_table_length NUM_FLOORS
|
|
|
|
.B4F: db "B4F@"
|
|
.B3F: db "B3F@"
|
|
.B2F: db "B2F@"
|
|
.B1F: db "B1F@"
|
|
._1F: db "1F@"
|
|
._2F: db "2F@"
|
|
._3F: db "3F@"
|
|
._4F: db "4F@"
|
|
._5F: db "5F@"
|
|
._6F: db "6F@"
|
|
._7F: db "7F@"
|
|
._8F: db "8F@"
|
|
._9F: db "9F@"
|
|
._10F: db "10F@"
|
|
._11F: db "11F@"
|
|
.ROOF: db "ROOF@"
|