Skip to content

Commit

Permalink
Persist rain on battle transition
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoomTen committed Sep 14, 2024
1 parent 62c92a4 commit a7406fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engine/battle/battle_transition.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7406fc

Please sign in to comment.