Issues with Bad Clone ACE in VC Crystal
Posted by: tstwizby
Date: 2018-07-06 03:16:10
I wrote the following code, executing from PC items:
PP Up x1
Great Ball x1
TM30 x1
Paralyz Heal x65
Awakening x14
Ultra Ball x2
TM 10 x1
etc…
Which should translate to:
ld a,$01
inc b
ld bc, $01DE
dec c
ld b,c
inc c
ld c, $02
ld (bc) a
ret
which I'm pretty sure should have the effect of adding 256 to the current HP of first Pokemon in my party (Quagsire), or else setting its HP to 256 since it normally has 181.
Instead, its HP was set to 99 and all data in the rest of my party was corrupted.
Is there some problem with my code, or is there more likely a problem with my setup for the ACE?
While executing, I have a lv 34 Quagsire that knows Return, Rock Smash, Slam, and Surf and a lv 6 Spearow holding TM 50 that knows Peck and Leer as the only two Pokemon in my party.