You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Document Return/Frustration bug and its fix (#872)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
BattleCommand_FrustrationPower:
|
||||
; frustrationpower
|
||||
|
||||
push bc
|
||||
ld hl, wBattleMonHappiness
|
||||
ldh a, [hBattleTurn]
|
||||
and a
|
||||
jr z, .got_happiness
|
||||
jr z, .ok
|
||||
ld hl, wEnemyMonHappiness
|
||||
.got_happiness
|
||||
.ok
|
||||
ld a, $ff
|
||||
sub [hl]
|
||||
ldh [hMultiplicand + 2], a
|
||||
|
Reference in New Issue
Block a user