Put const data in windcrest

This commit is contained in:
Tal Hayon
2022-04-19 22:03:51 +03:00
parent 7239c05a1a
commit d3a9d40206
4 changed files with 3 additions and 18 deletions
+2 -3
View File
@@ -6,8 +6,6 @@
#include "effects.h"
#include "functions.h"
extern u8 gUnk_08125010;
void Windcrest(Entity* this) {
if (this->action == 0) {
this->action++;
@@ -19,7 +17,8 @@ void Windcrest(Entity* this) {
}
void sub_080A2124(Entity* this) {
sub_08078850(this, 1, 0xe, &gUnk_08125010);
static const u8 gUnk_08125010[] = { 0, 0, 12, 12 };
sub_08078850(this, 1, 0xe, gUnk_08125010);
}
void Windcrest_Unlock(Entity* this) {