summaryrefslogtreecommitdiff
path: root/src/npc/townMinish.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2023-06-24 00:19:33 +0200
committeroctorock <79596758+octorock@users.noreply.github.com>2023-06-24 00:19:33 +0200
commitf89bb66911372a067041b66d50ac8462b7e0bd97 (patch)
tree5c7516fcf3e30a3aaf4e63c4a28a42e7c66f4471 /src/npc/townMinish.c
parentf9da6344273ac86d6fd9219fac2710c968eeab37 (diff)
Create enums for Vvvs and MetaTiles
Diffstat (limited to 'src/npc/townMinish.c')
-rw-r--r--src/npc/townMinish.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/npc/townMinish.c b/src/npc/townMinish.c
index 9808c6e8..c0bbaad2 100644
--- a/src/npc/townMinish.c
+++ b/src/npc/townMinish.c
@@ -3,6 +3,7 @@
#include "functions.h"
#include "item.h"
#include "npc.h"
+#include "tiles.h"
void sub_0806ACC4(Entity*);
void sub_0806ABFC(Entity*);
@@ -792,8 +793,8 @@ void sub_0806B0E0(Entity* this, ScriptExecutionContext* context) {
int idx = 0;
// Checks if the dust is gone at these four meta tiles.
- if (GetVvvAtRoomCoords(56, 184, 1) == 0x57 && GetVvvAtRoomCoords(72, 184, 1) == 0x57 &&
- GetVvvAtRoomCoords(56, 200, 1) == 0x57 && GetVvvAtRoomCoords(72, 200, 1) == 0x57) {
+ if (GetVvvAtRoomCoords(56, 184, 1) == VVV_87 && GetVvvAtRoomCoords(72, 184, 1) == VVV_87 &&
+ GetVvvAtRoomCoords(56, 200, 1) == VVV_87 && GetVvvAtRoomCoords(72, 200, 1) == VVV_87) {
idx = 1;
}