From a7406fc3ac14a8e34bf2af00cde0aeab3542a41b Mon Sep 17 00:00:00 2001 From: Zumi Daxuya Date: Sat, 14 Sep 2024 22:14:57 +0700 Subject: [PATCH] Persist rain on battle transition --- engine/battle/battle_transition.asm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/battle/battle_transition.asm b/engine/battle/battle_transition.asm index 976003bf4..ba36d7295 100644 --- a/engine/battle/battle_transition.asm +++ b/engine/battle/battle_transition.asm @@ -71,7 +71,11 @@ DoBattleTransition: cp LINK_MOBILE jr z, .mobile farcall ReanchorBGMap_NoOAMUpdate + ld a, [wCurWeather] + and a + jr nz, .skip_update_sprites ; lets the rain still be on screen for a bit call UpdateSprites +.skip_update_sprites call DelayFrame call .NonMobile_LoadPokeballTiles call BattleStart_CopyTilemapAtOnce