commented pokedex more

This commit is contained in:
YamaArashi
2016-01-09 17:51:14 -08:00
parent f14562da4b
commit e033ea3a37
5 changed files with 424 additions and 488 deletions

View File

@ -3,7 +3,7 @@
const SCGB_BATTLE_COLORS const SCGB_BATTLE_COLORS
const SCGB_POKEGEAR_PALS const SCGB_POKEGEAR_PALS
const SCGB_STATS_SCREEN_HP_PALS const SCGB_STATS_SCREEN_HP_PALS
const SCGB_04 const SCGB_POKEDEX
const SCGB_SLOT_MACHINE const SCGB_SLOT_MACHINE
const SCGB_06 const SCGB_06
const SCGB_07 const SCGB_07

File diff suppressed because it is too large Load Diff

View File

@ -37,7 +37,7 @@ Predef_LoadSGBLayoutCGB: ; 8d59
dw _CGB_BattleColors dw _CGB_BattleColors
dw _CGB_PokegearPals dw _CGB_PokegearPals
dw _CGB_StatsScreenHPPals dw _CGB_StatsScreenHPPals
dw _CGB04 dw _CGB_Pokedex
dw _CGB_SlotMachine dw _CGB_SlotMachine
dw _CGB06 dw _CGB06
dw _CGB07 dw _CGB07
@ -282,7 +282,7 @@ StatsScreenPals: ; 8f6a
RGB 17, 31, 31 RGB 17, 31, 31
; 8f70 ; 8f70
_CGB04: ; 8f70 _CGB_Pokedex: ; 8f70
ld de, UnknBGPals ld de, UnknBGPals
ld a, $1d ld a, $1d
call GetPredefPal call GetPredefPal

View File

@ -28,7 +28,7 @@ Predef_LoadSGBLayout: ; 864c
dw .SGB_BattleColors dw .SGB_BattleColors
dw .SGB_PokegearPals dw .SGB_PokegearPals
dw .SGB_StatsScreenHPPals dw .SGB_StatsScreenHPPals
dw .SGB04 dw .SGB_Pokedex
dw .SGB_SlotMachine dw .SGB_SlotMachine
dw .SGB06 dw .SGB06
dw .SGB07 dw .SGB07
@ -209,7 +209,7 @@ endr
ret ret
; 87b2 ; 87b2
.SGB04: ; 87b2 .SGB_Pokedex: ; 87b2
ld hl, PalPacket_9ce6 ld hl, PalPacket_9ce6
ld de, wSGBPals ld de, wSGBPals
ld bc, $10 ld bc, $10
@ -267,7 +267,7 @@ endr
; 8823 ; 8823
.SGB16: ; 8823 .SGB16: ; 8823
call .SGB04 call .SGB_Pokedex
ld de, BlkPacket_9af6 ld de, BlkPacket_9af6
ret ret
; 882a ; 882a

View File

@ -921,26 +921,27 @@ wPokedexDataStart::
wPokedexOrder:: ds NUM_POKEMON +- 1 wPokedexOrder:: ds NUM_POKEMON +- 1
wPokedexOrderEnd:: ds 6 wPokedexOrderEnd:: ds 6
wPokedexMetadata:: wPokedexMetadata::
wDexListingPage:: wDexListingScrollOffset:: ; offset of the first displayed entry from the start
wc7d0:: ds 1 ; Dex list page wc7d0:: ds 1
wDexListingCursor:: wDexListingCursor::
wc7d1:: ds 1 ; Dex cursor wc7d1:: ds 1 ; Dex cursor
wDexListingEnd:: wDexListingEnd::
wc7d2:: ds 1 ; Last mon to display wc7d2:: ds 1 ; Last mon to display
wc7d3:: ds 1 ; Number of mons visible per dex list page wDexListingHeight:: ; number of entries displayed at once in the dex listing
wc7d3:: ds 1
wCurrentDexMode:: ; Pokedex Mode wCurrentDexMode:: ; Pokedex Mode
wc7d4:: ds 1 ; Index of the topmost visible item in a scrolling menu wc7d4:: ds 1 ; Index of the topmost visible item in a scrolling menu
wc7d5:: ds 1 ; Which row the cursor is at in a scrolling menu (0-6) wDexSearchMonType1:: ds 1 ; first type to search
wc7d6:: ds 1 wDexSearchMonType2:: ds 1 ; second type to search
wc7d7:: ds 1 wDexSearchResultCount:: ds 1
wc7d8:: ds 1 wDexArrowCursorPosIndex:: ds 1
wc7d9:: ds 1 wDexArrowCursorDelayCounter:: ds 1
wc7da:: ds 1 wDexArrowCursorBlinkCounter:: ds 1
wDexSearchSlowpokeFrame:: ds 1 wDexSearchSlowpokeFrame:: ds 1
wUnlockedUnownMode:: ds 1 wUnlockedUnownMode:: ds 1
wc7dd:: ds 1 wc7dd:: ds 1
wc7de:: ds 1 wc7de:: ds 1
wc7df:: ds 1 wDexConvertedMonType:: ds 1 ; mon type converted from dex search mon type
wc7e0:: ds 1 wc7e0:: ds 1
wc7e1:: ds 1 wc7e1:: ds 1
wBackupDexListingCursor:: wBackupDexListingCursor::