Refactor the Unown wall word data (#1131)
This commit is contained in:
@@ -418,6 +418,16 @@
|
||||
charmap "8", $fe
|
||||
charmap "9", $ff
|
||||
|
||||
; Unown charmap, for Unown words (see gfx/tilesets/ruins_of_alph.png)
|
||||
pushc
|
||||
newcharmap unown
|
||||
DEF PRINTABLE_UNOWN EQUS "ABCDEFGHIJKLMNOPQRSTUVWXYZ-"
|
||||
for i, STRLEN("{PRINTABLE_UNOWN}")
|
||||
charmap STRSUB("{PRINTABLE_UNOWN}", i + 1, 1), $10 * (i / 8) + 2 * i
|
||||
endr
|
||||
charmap "@", $ff ; end
|
||||
popc
|
||||
|
||||
; ASCII charmap, for mobile functions
|
||||
pushc
|
||||
newcharmap ascii
|
||||
|
@@ -320,6 +320,8 @@ DEF NUM_UNOWN_PUZZLES EQU const_value
|
||||
const UNOWNWORDS_LIGHT ; 1
|
||||
const UNOWNWORDS_WATER ; 2
|
||||
const UNOWNWORDS_HO_OH ; 3
|
||||
DEF NUM_UNOWN_WALLS EQU const_value
|
||||
DEF UNOWN_WALL_MENU_HEADER_SIZE EQU 5
|
||||
|
||||
; MoveTutor setval arguments
|
||||
const_def 1
|
||||
|
Reference in New Issue
Block a user