You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Use maskbits some more
This commit is contained in:
@@ -1207,7 +1207,7 @@ BattleAnimCmd_Sound: ; cc7cd (33:47cd)
|
||||
srl a
|
||||
ld [wSFXDuration], a
|
||||
call .GetCryTrack
|
||||
and 3
|
||||
maskbits NUM_NOISE_CHANS +- 1
|
||||
ld [CryTracks], a ; CryTracks
|
||||
|
||||
ld e, a
|
||||
@@ -1244,7 +1244,7 @@ BattleAnimCmd_Sound: ; cc7cd (33:47cd)
|
||||
|
||||
BattleAnimCmd_Cry: ; cc807 (33:4807)
|
||||
call GetBattleAnimByte
|
||||
and 3
|
||||
maskbits NUM_NOISE_CHANS +- 1
|
||||
ld e, a
|
||||
ld d, 0
|
||||
ld hl, .CryData
|
||||
|
Reference in New Issue
Block a user