diff options
| author | Reinmmar <herwig.orlich@gmail.com> | 2023-09-17 20:44:14 +0200 |
|---|---|---|
| committer | Reinmmar <herwig.orlich@gmail.com> | 2023-09-17 20:44:14 +0200 |
| commit | e994fab66a6ef731908b0655f3c8d2bbb8b4ac5d (patch) | |
| tree | 8457616a93b0990019a4705e02972b39481de34b /src/script.c | |
| parent | e8639051babd5a27745284f41fb60650bd08a976 (diff) | |
Uuuh... A lot of animations in an enum
Diffstat (limited to 'src/script.c')
| -rw-r--r-- | src/script.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/script.c b/src/script.c index 2a116567..c3f6329b 100644 --- a/src/script.c +++ b/src/script.c @@ -1582,25 +1582,25 @@ void sub_0807F1A0(Entity* entity, ScriptExecutionContext* context) { void sub_0807F1C4(Entity* entity, ScriptExecutionContext* context) { if (gPlayerState.flags & PL_NO_CAP) { - gPlayerState.animation = 0x459; + gPlayerState.animation = ANIM_DIE1_NOCAP; } else { - gPlayerState.animation = 0x1bc; + gPlayerState.animation = ANIM_DIE1; } } void sub_0807F1E8(Entity* entity, ScriptExecutionContext* context) { if (gPlayerState.flags & PL_NO_CAP) { - gPlayerState.animation = 0x45a; + gPlayerState.animation = ANIM_DIE2_NOCAP; } else { - gPlayerState.animation = 0x2bd; + gPlayerState.animation = ANIM_DIE2; } } void sub_0807F210(Entity* entity, ScriptExecutionContext* context) { if (gPlayerState.flags & PL_NO_CAP) { - gPlayerState.animation = 0x41c; + gPlayerState.animation = ANIM_PORTAL_LEAVE_NOCAP; } else { - gPlayerState.animation = 0x80c; + gPlayerState.animation = ANIM_PORTAL_LEAVE; } } |
