comment spikes move effect

This commit is contained in:
yenatch 2013-09-09 22:01:24 -04:00
parent b437aaf329
commit 91e89a29a2
1 changed files with 9 additions and 3 deletions

View File

@ -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