More WRAM organization

This commit is contained in:
Remy Oukaour
2017-12-09 14:22:58 -05:00
parent 16c6696dd5
commit 5a5df2ab87
7 changed files with 418 additions and 448 deletions

View File

@@ -512,7 +512,7 @@ Pokedex_InitOptionScreen: ; 4039d (10:439d)
call ClearSprites
call Pokedex_DrawOptionScreenBG
call Pokedex_InitArrowCursor
ld a, [wCurrentDexMode]
ld a, [wCurrentDexMode] ; Index of the topmost visible item in a scrolling menu ???
ld [wDexArrowCursorPosIndex], a
call Pokedex_DisplayModeDescription
call WaitBGMap

View File

@@ -100,7 +100,7 @@ TradeAnimationPlayer2: ; 28f63
tradeanim_end
RunTradeAnimScript: ; 28fa1
ld hl, wTradeAnimPointer
ld hl, wTradeAnimAddress
ld [hl], e
inc hl
ld [hl], d
@@ -294,7 +294,7 @@ TradeAnim_IncrementJumptableIndex: ; 2910f
; 29114
TradeAnim_AdvanceScriptPointer: ; 29114
ld hl, wTradeAnimPointer
ld hl, wTradeAnimAddress
ld e, [hl]
inc hl
ld d, [hl]