2018-01-10 21:25:14 -08:00
|
|
|
unownwall: MACRO
|
2021-05-09 09:26:28 -07:00
|
|
|
for n, CHARLEN(\1)
|
|
|
|
x = CHARSUB(\1, n + 1)
|
|
|
|
if x == "-"
|
|
|
|
db $64
|
|
|
|
elif x >= "Y"
|
|
|
|
db 2 * (x - "Y") + $60
|
|
|
|
elif x >= "Q"
|
|
|
|
db 2 * (x - "Q") + $40
|
|
|
|
elif x >= "I"
|
|
|
|
db 2 * (x - "I") + $20
|
2018-01-10 21:25:14 -08:00
|
|
|
else
|
2021-05-09 09:26:28 -07:00
|
|
|
db 2 * (x - "A")
|
2018-01-10 21:25:14 -08:00
|
|
|
endc
|
|
|
|
endr
|
|
|
|
db -1 ; end
|
|
|
|
ENDM
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
UnownWalls:
|
2018-01-10 21:25:14 -08:00
|
|
|
; UNOWNWORDS_ESCAPE
|
2021-05-09 09:26:28 -07:00
|
|
|
; db $08, $44, $04, $00, $2e, $08, -1
|
|
|
|
unownwall "ESCAPE"
|
2018-01-10 21:25:14 -08:00
|
|
|
; UNOWNWORDS_LIGHT
|
2021-05-09 09:26:28 -07:00
|
|
|
; db $26, $20, $0c, $0e, $46, -1
|
|
|
|
unownwall "LIGHT"
|
2018-01-10 21:25:14 -08:00
|
|
|
; UNOWNWORDS_WATER
|
2021-05-09 09:26:28 -07:00
|
|
|
; db $4c, $00, $46, $08, $42, -1
|
|
|
|
unownwall "WATER"
|
2018-01-10 21:25:14 -08:00
|
|
|
; UNOWNWORDS_HO_OH
|
2021-05-09 09:26:28 -07:00
|
|
|
; db $0e, $2c, $64, $2c, $0e, -1
|
|
|
|
unownwall "HO-OH"
|
2018-01-10 21:25:14 -08:00
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
MenuHeaders_UnownWalls:
|
2018-01-10 21:25:14 -08:00
|
|
|
; UNOWNWORDS_ESCAPE
|
2018-01-14 20:43:51 -08:00
|
|
|
db MENU_BACKUP_TILES ; flags
|
2018-01-13 13:38:14 -08:00
|
|
|
menu_coords 3, 4, 16, 9
|
2018-01-10 21:25:14 -08:00
|
|
|
; UNOWNWORDS_LIGHT
|
2018-01-14 20:43:51 -08:00
|
|
|
db MENU_BACKUP_TILES ; flags
|
2018-01-13 13:38:14 -08:00
|
|
|
menu_coords 4, 4, 15, 9
|
2018-01-10 21:25:14 -08:00
|
|
|
; UNOWNWORDS_WATER
|
2018-01-14 20:43:51 -08:00
|
|
|
db MENU_BACKUP_TILES ; flags
|
2018-01-13 13:38:14 -08:00
|
|
|
menu_coords 4, 4, 15, 9
|
2018-01-10 21:25:14 -08:00
|
|
|
; UNOWNWORDS_HO_OH
|
2018-01-14 20:43:51 -08:00
|
|
|
db MENU_BACKUP_TILES ; flags
|
2018-01-13 13:38:14 -08:00
|
|
|
menu_coords 4, 4, 15, 9
|