summaryrefslogtreecommitdiff
path: root/src/manager/vaati3BackgroundManager.c
diff options
context:
space:
mode:
authorHenny022p <73211432+Henny022p@users.noreply.github.com>2026-02-08 18:32:38 +0100
committerGitHub <noreply@github.com>2026-02-08 18:32:38 +0100
commit5ab63f00e522ff69c5bc987e379f0163943f2833 (patch)
tree53622222ac729c6ab6dc75ef7f9bafa8031daf18 /src/manager/vaati3BackgroundManager.c
parent73901a0a012d55ebb66a4627dcb246d19737fcb5 (diff)
parent5b2cafdc894823d57beee8f3947a391d881d91de (diff)
Merge pull request #701 from Henny022p/cleanup/250302HEADmaster
Various code cleanup changes
Diffstat (limited to 'src/manager/vaati3BackgroundManager.c')
-rw-r--r--src/manager/vaati3BackgroundManager.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/manager/vaati3BackgroundManager.c b/src/manager/vaati3BackgroundManager.c
index bc8847cf..2b2e838b 100644
--- a/src/manager/vaati3BackgroundManager.c
+++ b/src/manager/vaati3BackgroundManager.c
@@ -7,16 +7,16 @@
#include "manager/vaati3BackgroundManager.h"
#include "area.h"
#include "common.h"
-#include "functions.h"
#include "room.h"
#include "screen.h"
+#include "game.h"
-void sub_0805D470(Vaati3BackgroundManager*);
+void Vaati3BackgroundManager_OnEnterRoom(Vaati3BackgroundManager*);
void Vaati3BackgroundManager_Main(Vaati3BackgroundManager* this) {
if (this == NULL) {
- if (gArea.onEnter != sub_0805D470) {
- sub_0805D470(NULL);
+ if (gArea.onEnter != Vaati3BackgroundManager_OnEnterRoom) {
+ Vaati3BackgroundManager_OnEnterRoom(NULL);
}
} else {
if (super->action == 0) {
@@ -24,7 +24,7 @@ void Vaati3BackgroundManager_Main(Vaati3BackgroundManager* this) {
super->flags |= ENT_PERSIST;
SetEntityPriority((Entity*)this, PRIO_PLAYER_EVENT);
if (gArea.onEnter == NULL) {
- RegisterTransitionManager(this, sub_0805D470, NULL);
+ RegisterTransitionHandler(this, Vaati3BackgroundManager_OnEnterRoom, NULL);
} else {
DeleteThisEntity();
}
@@ -37,7 +37,7 @@ void Vaati3BackgroundManager_Main(Vaati3BackgroundManager* this) {
}
}
-void sub_0805D470(Vaati3BackgroundManager* this) {
+void Vaati3BackgroundManager_OnEnterRoom(Vaati3BackgroundManager* this) {
LoadGfxGroup(0x4c);
gScreen.bg3.control = 0x1e07;
gScreen.lcd.displayControl |= DISPCNT_BG3_ON;