mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-26 13:31:03 +01:00
change for loop in fldeff_cut
This commit is contained in:
parent
9329ffc2bc
commit
cdacc27714
@ -352,10 +352,11 @@ static void StartCutGrassFieldEffect(void)
|
||||
bool8 FldEff_CutGrass(void)
|
||||
{
|
||||
s16 x, y;
|
||||
u8 tileBehavior;
|
||||
u8 i;
|
||||
u8 i = 0;
|
||||
|
||||
for (i = 0, PlaySE(SE_W015), PlayerGetDestCoords(&gPlayerFacingPosition.x, &gPlayerFacingPosition.y); i < CUT_HYPER_AREA; i++)
|
||||
PlaySE(SE_W015);
|
||||
PlayerGetDestCoords(&gPlayerFacingPosition.x, &gPlayerFacingPosition.y);
|
||||
for (i = 0; i < CUT_HYPER_AREA; i++)
|
||||
{
|
||||
if (sHyperCutTiles[i] == TRUE)
|
||||
{
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include "rom6.h"
|
||||
#include "script.h"
|
||||
#include "task.h"
|
||||
#include "constants/event_objects.h"
|
||||
|
||||
// static functions
|
||||
static void FldEff_UseStrength(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user