This commit is contained in:
Thorn Avery 2023-11-13 12:31:47 +11:00
parent 2b68600401
commit 2c28d50304
9 changed files with 1903 additions and 7 deletions

View file

@ -64,8 +64,7 @@ JamesText:
call RestoreScreenTilesAndReloadTilePatterns
call LoadGBPal
pop af
ld hl, JamesDone
call PrintText
jr c, .refused
; DV increasing process.
; Thanks to Vimescarrot for giving me pointers on this!
@ -74,13 +73,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 c, l
ld a, [hli]
cp a, %11111111
jr nz, .train
ld a, [hl]
cp a, %11111111
jr z, .alreadyTrained
.train
; Set the DVS
ld h, b
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

View file

@ -168,10 +168,10 @@ ResetLegendaryPokemon:
ResetEvent EVENT_BEAT_MEWTWO
ld a, HS_MEWTWO
call ShowThis
ResetEvent EVENT_FIGHT_ROUTE12_SNORLAX
ResetEvent EVENT_BEAT_ROUTE12_SNORLAX
ld a, HS_ROUTE_12_SNORLAX
call ShowThis
ResetEvent EVENT_FIGHT_ROUTE16_SNORLAX
ResetEvent EVENT_BEAT_ROUTE16_SNORLAX
ld a, HS_ROUTE_16_SNORLAX
call ShowThis