summaryrefslogtreecommitdiff
path: root/src/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/script.c')
-rw-r--r--src/script.c12
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;
}
}