2018-01-11 05:25:14 +00:00
|
|
|
unownwall: MACRO
|
|
|
|
rept _NARG
|
|
|
|
if \1 == "-"
|
|
|
|
x = $64
|
2018-04-04 18:06:25 +00:00
|
|
|
elif \1 >= "Y"
|
2018-01-11 05:25:14 +00:00
|
|
|
x = 2 * (\1 - "Y") + $60
|
2018-04-04 18:06:25 +00:00
|
|
|
elif \1 >= "Q"
|
2018-01-11 05:25:14 +00:00
|
|
|
x = 2 * (\1 - "Q") + $40
|
2018-04-04 18:06:25 +00:00
|
|
|
elif \1 >= "I"
|
2018-01-11 05:25:14 +00:00
|
|
|
x = 2 * (\1 - "I") + $20
|
|
|
|
else
|
|
|
|
x = 2 * (\1 - "A")
|
|
|
|
endc
|
|
|
|
db x
|
2018-05-06 16:16:57 +00:00
|
|
|
shift
|
2018-01-11 05:25:14 +00:00
|
|
|
endr
|
|
|
|
db -1 ; end
|
|
|
|
ENDM
|
|
|
|
|
2018-06-24 14:09:41 +00:00
|
|
|
UnownWalls:
|
2018-01-11 05:25:14 +00:00
|
|
|
; UNOWNWORDS_ESCAPE
|
2018-04-04 18:06:25 +00:00
|
|
|
; db $08, $44, $04, $00, $2e, $08, -1
|
2018-01-11 05:25:14 +00:00
|
|
|
unownwall "E", "S", "C", "A", "P", "E"
|
|
|
|
; UNOWNWORDS_LIGHT
|
2018-04-04 18:06:25 +00:00
|
|
|
; db $26, $20, $0c, $0e, $46, -1
|
2018-01-11 05:25:14 +00:00
|
|
|
unownwall "L", "I", "G", "H", "T"
|
|
|
|
; UNOWNWORDS_WATER
|
2018-04-04 18:06:25 +00:00
|
|
|
; db $4c, $00, $46, $08, $42, -1
|
2018-01-11 05:25:14 +00:00
|
|
|
unownwall "W", "A", "T", "E", "R"
|
|
|
|
; UNOWNWORDS_HO_OH
|
2018-04-04 18:06:25 +00:00
|
|
|
; db $0e, $2c, $64, $2c, $0e, -1
|
2018-01-11 05:25:14 +00:00
|
|
|
unownwall "H", "O", "-", "O", "H"
|
|
|
|
|
2018-06-25 00:10:37 +00:00
|
|
|
MenuHeaders_UnownWalls:
|
2018-01-11 05:25:14 +00:00
|
|
|
; UNOWNWORDS_ESCAPE
|
2018-01-15 04:43:51 +00:00
|
|
|
db MENU_BACKUP_TILES ; flags
|
2018-01-13 21:38:14 +00:00
|
|
|
menu_coords 3, 4, 16, 9
|
2018-01-11 05:25:14 +00:00
|
|
|
; UNOWNWORDS_LIGHT
|
2018-01-15 04:43:51 +00:00
|
|
|
db MENU_BACKUP_TILES ; flags
|
2018-01-13 21:38:14 +00:00
|
|
|
menu_coords 4, 4, 15, 9
|
2018-01-11 05:25:14 +00:00
|
|
|
; UNOWNWORDS_WATER
|
2018-01-15 04:43:51 +00:00
|
|
|
db MENU_BACKUP_TILES ; flags
|
2018-01-13 21:38:14 +00:00
|
|
|
menu_coords 4, 4, 15, 9
|
2018-01-11 05:25:14 +00:00
|
|
|
; UNOWNWORDS_HO_OH
|
2018-01-15 04:43:51 +00:00
|
|
|
db MENU_BACKUP_TILES ; flags
|
2018-01-13 21:38:14 +00:00
|
|
|
menu_coords 4, 4, 15, 9
|