diff options
| author | Sylvie <35663410+Rangi42@users.noreply.github.com> | 2024-07-16 13:02:54 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-16 13:02:54 -0400 |
| commit | 8fafca714c07500d1d87bba224f12cf9cc2c8789 (patch) | |
| tree | 273ca88fcfcd80df9c318c9cb8d17a1f7aa240cb /engine/debug | |
| parent | Build with RGBDS 0.8.0, though it is not yet required (diff) | |
| download | pokeyellow-8fafca714c07500d1d87bba224f12cf9cc2c8789.tar.gz pokeyellow-8fafca714c07500d1d87bba224f12cf9cc2c8789.tar.xz pokeyellow-8fafca714c07500d1d87bba224f12cf9cc2c8789.zip | |
Identify various flag labels and bit constants (#454)
Diffstat (limited to 'engine/debug')
| -rw-r--r-- | engine/debug/debug_menu.asm | 6 | ||||
| -rw-r--r-- | engine/debug/debug_party.asm | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/debug/debug_menu.asm b/engine/debug/debug_menu.asm index fbf136fe..06c2ace1 100644 --- a/engine/debug/debug_menu.asm +++ b/engine/debug/debug_menu.asm @@ -55,7 +55,7 @@ IF DEF(_DEBUG) jp z, TestBattle ; DEBUG - ld hl, wd732 + ld hl, wStatusFlags6 set BIT_DEBUG_MODE, [hl] jp StartNewGameDebug @@ -80,7 +80,7 @@ TestBattle: ; unreferenced except in _DEBUG ld a, 1 << BIT_EARTHBADGE ld [wObtainedBadges], a - ld hl, wFlags_D733 + ld hl, wStatusFlags7 set BIT_TEST_BATTLE, [hl] ; wNumBagItems and wBagItems are not initialized here, @@ -100,7 +100,7 @@ TestBattle: ; unreferenced except in _DEBUG ld a, RHYDON ld [wcf91], a ld a, 20 - ld [wCurEnemyLVL], a + ld [wCurEnemyLevel], a xor a ld [wMonDataLocation], a ld [wCurMap], a diff --git a/engine/debug/debug_party.asm b/engine/debug/debug_party.asm index 0c76bde1..17d0f793 100644 --- a/engine/debug/debug_party.asm +++ b/engine/debug/debug_party.asm @@ -7,7 +7,7 @@ SetDebugNewGameParty: ; unreferenced except in _DEBUG ld [wcf91], a inc de ld a, [de] - ld [wCurEnemyLVL], a + ld [wCurEnemyLevel], a inc de call AddPartyMon jr .loop |
