mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-01-23 09:16:20 -08:00
Merge branch 'master' of https://github.com/pret/pokecrystal
This commit is contained in:
commit
be8d1c80f4
@ -294,10 +294,9 @@ endr
|
|||||||
|
|
||||||
.generatestats
|
.generatestats
|
||||||
pop hl
|
pop hl
|
||||||
ld bc, 2*5 ; 5 Stats
|
ld bc, MON_STAT_EXP - 1
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld b, $0 ; if b = 1, then the Stats of the Pkmn are calculated
|
ld b, $0 ; if b = 1, then stat calculation takes stat exp into account.
|
||||||
; only the current HP aren't set to MaxHP after this
|
|
||||||
call CalcPkmnStats
|
call CalcPkmnStats
|
||||||
|
|
||||||
.next3
|
.next3
|
||||||
|
@ -1053,8 +1053,9 @@ Pokedex_ListingPosChanged: ; 4073f (10:473f)
|
|||||||
scf
|
scf
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Pokedex_HLDownBRows: ; 40741
|
Pokedex_FillColumn: ; 40741
|
||||||
; Moves the tilemap pointer in HL down by B rows.
|
; Fills a column starting at HL, going downwards.
|
||||||
|
; B is the height of the column and A is the tile it's filled with.
|
||||||
push de
|
push de
|
||||||
ld de, SCREEN_WIDTH
|
ld de, SCREEN_WIDTH
|
||||||
.loop
|
.loop
|
||||||
@ -1107,11 +1108,11 @@ Pokedex_DrawMainScreenBG: ; 4074c (10:474c)
|
|||||||
hlcoord 8, 1
|
hlcoord 8, 1
|
||||||
ld b, 7
|
ld b, 7
|
||||||
ld a, $5a
|
ld a, $5a
|
||||||
call Pokedex_HLDownBRows
|
call Pokedex_FillColumn
|
||||||
hlcoord 8, 10
|
hlcoord 8, 10
|
||||||
ld b, 6
|
ld b, 6
|
||||||
ld a, $5a
|
ld a, $5a
|
||||||
call Pokedex_HLDownBRows
|
call Pokedex_FillColumn
|
||||||
hlcoord 8, 0
|
hlcoord 8, 0
|
||||||
ld [hl], $59
|
ld [hl], $59
|
||||||
hlcoord 8, 8
|
hlcoord 8, 8
|
||||||
@ -1142,7 +1143,7 @@ Pokedex_DrawDexEntryScreenBG: ; 407fd
|
|||||||
hlcoord 19, 1
|
hlcoord 19, 1
|
||||||
ld a, " "
|
ld a, " "
|
||||||
ld b, 15
|
ld b, 15
|
||||||
call Pokedex_HLDownBRows
|
call Pokedex_FillColumn
|
||||||
ld [hl], $39
|
ld [hl], $39
|
||||||
hlcoord 1, 10
|
hlcoord 1, 10
|
||||||
ld bc, 19
|
ld bc, 19
|
||||||
@ -1265,7 +1266,7 @@ Pokedex_DrawSearchResultsScreenBG: ; 40962 (10:4962)
|
|||||||
hlcoord 8, 1
|
hlcoord 8, 1
|
||||||
ld b, 7
|
ld b, 7
|
||||||
ld a, $5a
|
ld a, $5a
|
||||||
call Pokedex_HLDownBRows
|
call Pokedex_FillColumn
|
||||||
hlcoord 8, 8
|
hlcoord 8, 8
|
||||||
ld [hl], $53
|
ld [hl], $53
|
||||||
hlcoord 8, 9
|
hlcoord 8, 9
|
||||||
|
Loading…
x
Reference in New Issue
Block a user