mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-01-23 09:16:20 -08:00
undo overcommenting in BattleRandom
these comments made sense before hram and rst constants were established
This commit is contained in:
parent
c9d3881a2f
commit
c402a16def
7
main.asm
7
main.asm
@ -5607,14 +5607,13 @@ BattleRandom: ; 2f9f
|
||||
; It handles all RNG calls in the battle engine, allowing
|
||||
; link battles to remain in sync using a shared PRNG.
|
||||
|
||||
; Save bank
|
||||
ld a, [hROMBank] ; bank
|
||||
ld a, [hROMBank]
|
||||
push af
|
||||
; Bankswitch
|
||||
ld a, BANK(_BattleRandom)
|
||||
rst Bankswitch
|
||||
|
||||
call _BattleRandom
|
||||
; Restore bank
|
||||
|
||||
ld [$cfb6], a
|
||||
pop af
|
||||
rst Bankswitch
|
||||
|
Loading…
x
Reference in New Issue
Block a user