Merge branch 'mistress' into renewables

This commit is contained in:
Thorn Avery 2023-11-14 05:38:46 +11:00
commit 04c4870d53
9 changed files with 340 additions and 83 deletions

View file

@ -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