mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-14 15:43:43 +01:00
use B_WAIT_TIME_SHORT and B_WAIT_TIME_LONG
This commit is contained in:
parent
0bbbd1e7a9
commit
85f98300ff
@ -2155,22 +2155,22 @@ BattleScript_EffectSleep::
|
|||||||
goto BattleScript_MoveEnd
|
goto BattleScript_MoveEnd
|
||||||
|
|
||||||
BattleScript_TerrainPreventsEnd2::
|
BattleScript_TerrainPreventsEnd2::
|
||||||
pause 0x20
|
pause B_WAIT_TIME_SHORT
|
||||||
printfromtable gTerrainPreventsStringIds
|
printfromtable gTerrainPreventsStringIds
|
||||||
waitmessage 0x40
|
waitmessage B_WAIT_TIME_LONG
|
||||||
end2
|
end2
|
||||||
|
|
||||||
BattleScript_ElectricTerrainPrevents:
|
BattleScript_ElectricTerrainPrevents:
|
||||||
pause 0x20
|
pause B_WAIT_TIME_SHORT
|
||||||
printstring STRINGID_ELECTRICTERRAINPREVENTS
|
printstring STRINGID_ELECTRICTERRAINPREVENTS
|
||||||
waitmessage 0x40
|
waitmessage B_WAIT_TIME_LONG
|
||||||
orhalfword gMoveResultFlags, MOVE_RESULT_FAILED
|
orhalfword gMoveResultFlags, MOVE_RESULT_FAILED
|
||||||
goto BattleScript_MoveEnd
|
goto BattleScript_MoveEnd
|
||||||
|
|
||||||
BattleScript_MistyTerrainPrevents:
|
BattleScript_MistyTerrainPrevents:
|
||||||
pause 0x20
|
pause B_WAIT_TIME_SHORT
|
||||||
printstring STRINGID_MISTYTERRAINPREVENTS
|
printstring STRINGID_MISTYTERRAINPREVENTS
|
||||||
waitmessage 0x40
|
waitmessage B_WAIT_TIME_LONG
|
||||||
orhalfword gMoveResultFlags, MOVE_RESULT_FAILED
|
orhalfword gMoveResultFlags, MOVE_RESULT_FAILED
|
||||||
goto BattleScript_MoveEnd
|
goto BattleScript_MoveEnd
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user