You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
comment spikes move effect
This commit is contained in:
@@ -9557,13 +9557,19 @@ BattleCommand56: ; 37683
|
|||||||
and a
|
and a
|
||||||
jr z, .asm_3768e
|
jr z, .asm_3768e
|
||||||
ld hl, PlayerScreens
|
ld hl, PlayerScreens
|
||||||
|
|
||||||
.asm_3768e
|
.asm_3768e
|
||||||
bit 0, [hl]
|
|
||||||
|
; Fails if spikes are already down!
|
||||||
|
|
||||||
|
bit SCREENS_SPIKES, [hl]
|
||||||
jr nz, .failed
|
jr nz, .failed
|
||||||
|
|
||||||
set 0, [hl]
|
; Nothing else stops it from working.
|
||||||
|
|
||||||
|
set SCREENS_SPIKES, [hl]
|
||||||
|
|
||||||
call Function0x37e01
|
call Function0x37e01
|
||||||
|
|
||||||
ld hl, SpikesText
|
ld hl, SpikesText
|
||||||
jp StdBattleTextBox
|
jp StdBattleTextBox
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user