summaryrefslogtreecommitdiff
path: root/src/code/z_elf_message.c
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2022-09-29 19:22:59 -0700
committerGitHub <noreply@github.com>2022-09-30 03:22:59 +0100
commit3a723efb15c4d3e044edda7979b1cde5588c0aeb (patch)
tree723be7198b5f4806ae3881841eb530e0767945ad /src/code/z_elf_message.c
parent08be0b3bd4f8c2e7955e94dd2714e1c8e4ef9594 (diff)
SceneNum -> SceneId (#1036)
* sceneNum -> sceneId * horse data scene -> sceneId * Clean up scene table * format * PR comments * Some more * It helps if you actually save the file * PR * Remove comment * Format * Conflicts
Diffstat (limited to 'src/code/z_elf_message.c')
-rw-r--r--src/code/z_elf_message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_elf_message.c b/src/code/z_elf_message.c
index 25d6f8ca8..11e4a2743 100644
--- a/src/code/z_elf_message.c
+++ b/src/code/z_elf_message.c
@@ -20,7 +20,7 @@ u16 ElfMessage_GetFirstCycleHint(PlayState* play) {
if (gSaveContext.save.weekEventReg[9] & 1) {
return 0x21E;
}
- if (play->sceneNum == SCENE_YOUSEI_IZUMI) {
+ if (play->sceneId == SCENE_YOUSEI_IZUMI) {
return 0;
}
return 0x21D;
@@ -29,7 +29,7 @@ u16 ElfMessage_GetFirstCycleHint(PlayState* play) {
return 0x21F;
}
if (INV_CONTENT(ITEM_DEED_LAND) == ITEM_DEED_LAND) {
- if (play->sceneNum != SCENE_OKUJOU) {
+ if (play->sceneId != SCENE_OKUJOU) {
return 0x244;
}
return 0;