summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorIIMarckus <iimarckus@gmail.com>2020-09-22 12:52:08 -0600
committerIIMarckus <iimarckus@gmail.com>2020-09-22 13:01:20 -0600
commit76b458f5ece5391942336478e3107cb45069633e (patch)
tree80b1f09c01c8815ea5a556baaa790f0e2c7a8ad1 /source
parent7ee829537a4068cae43059a3ac32a2b56afcd33b (diff)
Rename levels to puzzles
Diffstat (limited to 'source')
-rw-r--r--source/bank_00.asm22
-rw-r--r--source/bank_01.asm2
2 files changed, 12 insertions, 12 deletions
diff --git a/source/bank_00.asm b/source/bank_00.asm
index 6aca0ff..81b99a9 100644
--- a/source/bank_00.asm
+++ b/source/bank_00.asm
@@ -1759,9 +1759,9 @@ function_00_0c70::
push_bank_rom $09 ; BANK(???)
ld hl, $4000 ; ???
- ld a, [w_level_index + 0]
+ ld a, [w_puzzle_index + 0]
ld c, a
- ld a, [w_level_index + 1]
+ ld a, [w_puzzle_index + 1]
ld b, a
sla c
rl b
@@ -2324,14 +2324,14 @@ busy_wait::
ret
SECTION "home_text", ROM0[$1883]
-level_name_print::
- push_bank_rom BANK(level_names)
+puzzle_name_print::
+ push_bank_rom BANK(puzzle_names)
; Get string address
- ld hl, level_names
- ld a, [w_level_index + 0]
+ ld hl, puzzle_names
+ ld a, [w_puzzle_index + 0]
ld c, a
- ld a, [w_level_index + 1]
+ ld a, [w_puzzle_index + 1]
ld b, a
sla c
rl b
@@ -2493,13 +2493,13 @@ function_00_1bec::
ld a, b
ret
-copy_level_name::
+copy_puzzle_name::
ld l, a
- push_bank_rom BANK(level_names)
+ push_bank_rom BANK(puzzle_names)
ld h, 0
add hl, hl
- ld de, level_names
+ ld de, puzzle_names
add hl, de
ld a, [hl+]
ld h, [hl]
@@ -2507,7 +2507,7 @@ copy_level_name::
inc hl ; skip dw before text
inc hl
- ld e, 6 ; only copies first 6 characters of level name
+ ld e, 6 ; only copies first 6 characters of puzzle name
.loop
ld a, [hl+]
ld [bc], a
diff --git a/source/bank_01.asm b/source/bank_01.asm
index 80e88a7..30e904d 100644
--- a/source/bank_01.asm
+++ b/source/bank_01.asm
@@ -2,7 +2,7 @@ INCLUDE "macros.inc"
SECTION "text_2_char_draw", ROMX[$5e3c], BANK[$01]
-level_name_textbox_clear:
+puzzle_name_textbox_clear:
xor a
ld [w_dbe4], a