mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-21 22:52:15 +13:00
Merge branch 'mistress' into renewables
This commit is contained in:
commit
04c4870d53
9 changed files with 340 additions and 83 deletions
|
|
@ -74,25 +74,26 @@ JamesText:
|
|||
ld bc, wPartyMon2 - wPartyMon1 ; This gets to the right slot for DVs
|
||||
call AddNTimes ; Gets us there
|
||||
; check if already maxed
|
||||
ld b, h
|
||||
ld b, h ; store beginning address
|
||||
ld c, l
|
||||
ld a, [hli]
|
||||
ld a, [hli] ; Attack + Defence
|
||||
cp a, %11111111
|
||||
jr nz, .train
|
||||
ld a, [hl]
|
||||
jr nz, .train ; at least one stat isnt maxed
|
||||
ld a, [hl] ; Speed + Special
|
||||
cp a, %11111111
|
||||
jr z, .alreadyTrained
|
||||
jr z, .alreadyTrained ; all stats were maxed
|
||||
.train
|
||||
; Set the DVS
|
||||
ld h, b
|
||||
ld h, b ; restore address
|
||||
ld l, c
|
||||
ld a, %11111111 ; Load FFFF FFFF, perfect 15s
|
||||
ld [hli], a ; Attack + Defence
|
||||
ld [hl], a ; Speed + Special
|
||||
; And we're done!
|
||||
|
||||
; Currently this doesn't automatically change the stats because it's fucking insane
|
||||
ld hl, JamesDone
|
||||
call PrintText
|
||||
|
||||
; Bottle Cap removal service
|
||||
ld hl, BottleCapList
|
||||
.loop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue