diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-01-12 17:04:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-12 17:04:23 -0500 |
commit | 92d99d4fd2e5579372b9f4cc39468000553ba3a8 (patch) | |
tree | 4ff8e60d1ad6a25dad888a4e78011624b46ad9ec /src/field_tasks.c | |
parent | 15ff7eb2f87032797f6ce9ef9bb471c468b48a36 (diff) | |
parent | 0676e732869d0e62322b001cbab57b8500361005 (diff) |
Merge pull request #207 from GriffinRichards/sync-script
Sync scripts with pokeemerald
Diffstat (limited to 'src/field_tasks.c')
-rw-r--r-- | src/field_tasks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/field_tasks.c b/src/field_tasks.c index 7ca6d0e7b..67717c567 100644 --- a/src/field_tasks.c +++ b/src/field_tasks.c @@ -213,7 +213,7 @@ static void IcefallCaveIcePerStepCallback(u8 taskId) PlaySE(SE_RU_GASYAN); MapGridSetMetatileIdAt(x, y, 0x35b); CurrentMapDrawMetatileAt(x, y); - VarSet(VAR_0x4001, 1); + VarSet(VAR_TEMP_1, 1); data[1] = 1; } break; @@ -268,7 +268,7 @@ static void CrackedFloorPerStepCallback(u8 taskId) if (MetatileBehavior_ReturnFalse_13(behavior)) { if (GetPlayerSpeed() != 4) - VarSet(VAR_0x4030, 0); + VarSet(VAR_ICE_STEP_COUNT, 0); if (data[4] == 0) { |