Update data/battle_scripts_1.s

Co-authored-by: PhallenTree <168426989+PhallenTree@users.noreply.github.com>
This commit is contained in:
Alex 2025-02-23 22:56:46 +01:00 committed by GitHub
parent 5ee5aa796a
commit 335233bab5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5924,11 +5924,12 @@ BattleScript_WonderRoomEnds::
BattleScript_MagicRoomEnds::
printstring STRINGID_MAGICROOMENDS
waitmessage B_WAIT_TIME_LONG
setbyte gBattlerAttacker, 0
setbyte gBattlerTarget, 0
BattleScript_MagicRoomHealingItemsLoop:
copyarraywithindex gBattlerAttacker, gBattlerByTurnOrder, gBattlerTarget, 1
tryhealingitem
addbyte gBattlerAttacker, 1 @ TODO: Pretty sure it should be based on speed
jumpifbytenotequal gBattlerAttacker, gBattlersCount, BattleScript_MagicRoomHealingItemsLoop
addbyte gBattlerTarget, 1
jumpifbytenotequal gBattlerTarget, gBattlersCount, BattleScript_MagicRoomHealingItemsLoop
end2
BattleScript_TerrainEnds_Ret::