summaryrefslogtreecommitdiff
path: root/engine/pokedex.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-05-17 08:40:42 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-05-17 08:40:56 -0400
commit98f443f70c60f8fdbcf8621ab2c4f9dd37c66bde (patch)
tree42dc1cc21f8916c6d6ffe3b503fffddc4cab68cf /engine/pokedex.asm
parent2eeb78d1bcecf09b2a48035dc24c19a726c41819 (diff)
engine/events.asm labels finished
fixed palred/green/blue macros
Diffstat (limited to 'engine/pokedex.asm')
-rw-r--r--engine/pokedex.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/pokedex.asm b/engine/pokedex.asm
index 4d8b22ef4..e61a24964 100644
--- a/engine/pokedex.asm
+++ b/engine/pokedex.asm
@@ -694,9 +694,9 @@ Pokedex_UpdateSearchScreen: ; 40471 (10:4471)
.show_search_results
ld [wDexListingEnd], a
ld a, [wDexListingScrollOffset]
- ld [wc7e0], a
+ ld [wDexListingScrollOffsetBackup], a
ld a, [wDexListingCursor]
- ld [wc7e1], a
+ ld [wDexListingCursorBackup], a
ld a, [wLastDexEntry]
ld [wcf65], a
xor a
@@ -777,9 +777,9 @@ Pokedex_UpdateSearchResultsScreen: ; 40562 (10:4562)
ret
.return_to_search_screen
- ld a, [wc7e0]
+ ld a, [wDexListingScrollOffsetBackup]
ld [wDexListingScrollOffset], a
- ld a, [wc7e1]
+ ld a, [wDexListingCursorBackup]
ld [wDexListingCursor], a
ld a, [wcf65]
ld [wLastDexEntry], a