mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Label and document hFFD7 more accurately
This commit is contained in:
parent
6adbaefde1
commit
242b2e05cf
19 changed files with 45 additions and 45 deletions
|
|
@ -11,7 +11,7 @@ TryEvolvingMon:
|
|||
; this is only called after battle
|
||||
; it is supposed to do level up evolutions, though there is a bug that allows item evolutions to occur
|
||||
EvolutionAfterBattle:
|
||||
ldh a, [hTilesetType]
|
||||
ldh a, [hTileAnimations]
|
||||
push af
|
||||
xor a
|
||||
ld [wEvolutionOccurred], a
|
||||
|
|
@ -245,7 +245,7 @@ Evolution_PartyMonLoop: ; loop over party mons
|
|||
pop bc
|
||||
pop hl
|
||||
pop af
|
||||
ldh [hTilesetType], a
|
||||
ldh [hTileAnimations], a
|
||||
ld a, [wLinkState]
|
||||
cp LINK_STATE_TRADING
|
||||
ret z
|
||||
|
|
|
|||
|
|
@ -101,10 +101,10 @@ StatusScreen:
|
|||
ld hl, vChars2 tile $72
|
||||
lb bc, BANK(PTile), 1
|
||||
call CopyVideoDataDouble ; bold P (for PP)
|
||||
ldh a, [hTilesetType]
|
||||
ldh a, [hTileAnimations]
|
||||
push af
|
||||
xor a
|
||||
ldh [hTilesetType], a
|
||||
ldh [hTileAnimations], a
|
||||
hlcoord 19, 1
|
||||
lb bc, 6, 10
|
||||
call DrawLineBox ; Draws the box around name, HP and status
|
||||
|
|
@ -174,7 +174,7 @@ StatusScreen:
|
|||
call PlayCry ; play Pokémon cry
|
||||
call WaitForTextScrollButtonPress ; wait for button
|
||||
pop af
|
||||
ldh [hTilesetType], a
|
||||
ldh [hTileAnimations], a
|
||||
ret
|
||||
|
||||
.GetStringPointer
|
||||
|
|
@ -296,10 +296,10 @@ StatsText:
|
|||
next "SPECIAL@"
|
||||
|
||||
StatusScreen2:
|
||||
ldh a, [hTilesetType]
|
||||
ldh a, [hTileAnimations]
|
||||
push af
|
||||
xor a
|
||||
ldh [hTilesetType], a
|
||||
ldh [hTileAnimations], a
|
||||
ldh [hAutoBGTransferEnabled], a
|
||||
ld bc, NUM_MOVES + 1
|
||||
ld hl, wMoves
|
||||
|
|
@ -429,7 +429,7 @@ StatusScreen2:
|
|||
call Delay3
|
||||
call WaitForTextScrollButtonPress ; wait for button
|
||||
pop af
|
||||
ldh [hTilesetType], a
|
||||
ldh [hTileAnimations], a
|
||||
ld hl, wd72c
|
||||
res 1, [hl]
|
||||
ld a, $77
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue