diff options
-rw-r--r-- | data/level_names.asm (renamed from data/strings.asm) | 4 | ||||
-rw-r--r-- | shim.sym | 2 | ||||
-rw-r--r-- | source/bank_00.asm | 10 |
3 files changed, 8 insertions, 8 deletions
diff --git a/data/strings.asm b/data/level_names.asm index 7441015..da4d3d8 100644 --- a/data/strings.asm +++ b/data/level_names.asm @@ -1,8 +1,8 @@ INCLUDE "text.inc" -SECTION "strings", ROMX[$4000], BANK[$09] +SECTION "level_names", ROMX[$4000], BANK[$09] -strings_pointers:: +level_names:: dw level_name_pokedex dw level_name_town_map dw level_name_slot_machine @@ -192,7 +192,7 @@ 01:d568 w_d568 01:d60f w_d60f 01:d61b w_d61b -01:d625 w_text_index ; dw +01:d625 w_level_index ; dw 01:d62d w_d62d 01:d630 w_d630 01:d641 w_tutorial_scene ; db diff --git a/source/bank_00.asm b/source/bank_00.asm index 21d3160..9cbddd7 100644 --- a/source/bank_00.asm +++ b/source/bank_00.asm @@ -1338,18 +1338,18 @@ function_00_1120:: ret SECTION "home_text", ROM0[$1883] -text_print:: +level_name_print:: ld a, [w_bank_rom] push af - ld a, BANK(strings_pointers) + ld a, BANK(level_names) ld [w_bank_rom], a ld [rROMB0], a ; Get string address - ld hl, strings_pointers - ld a, [w_text_index + 0] + ld hl, level_names + ld a, [w_level_index + 0] ld c, a - ld a, [w_text_index + 1] + ld a, [w_level_index + 1] ld b, a sla c rl b |