mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Use MAX_LEVEL instead of 100/$64
This commit is contained in:
parent
fee52c53a4
commit
9eefed45f7
4 changed files with 5 additions and 4 deletions
|
|
@ -352,7 +352,7 @@ StatusScreen2: ; 12b57 (4:6b57)
|
|||
call PlaceString
|
||||
ld a, [wcfb9] ; level
|
||||
push af
|
||||
cp 100
|
||||
cp MAX_LEVEL
|
||||
jr z, .Level100 ; 0x12c20 $4
|
||||
inc a
|
||||
ld [wcfb9], a ; Increase temporarily if not 100
|
||||
|
|
@ -402,7 +402,7 @@ StatusScreen2: ; 12b57 (4:6b57)
|
|||
jp ClearScreen
|
||||
.asm_12c86 ; This does some magic with lvl/exp?
|
||||
ld a, [wcfb9] ; Load level
|
||||
cp $64
|
||||
cp MAX_LEVEL
|
||||
jr z, .asm_12ca7 ; 0x12c8b $1a ; If 100
|
||||
inc a
|
||||
ld d, a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue