fldeff_sweetscent ewram

This commit is contained in:
PikalaxALT 2019-11-23 10:55:30 -05:00 committed by Evan
parent 9d71775293
commit 98be2d1805
3 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,6 @@
gTasks[taskId].data[8] = (u32)func >> 16; \
gTasks[taskId].data[9] = (u32)func;
extern u8 *gUnknown_203AAB0;
extern struct MapPosition gPlayerFacingPosition;
bool8 CheckObjectGraphicsInFrontOfPlayer(u8 graphicsId);

View File

@ -13,6 +13,8 @@
#include "wild_encounter.h"
#include "constants/songs.h"
static EWRAM_DATA u8 *gUnknown_203AAB0 = NULL;
static void FieldCallback_SweetScent(void);
static void StartSweetScentFieldEffect(void);
static void TrySweetScentEncounter(u8 taskId);

View File

@ -427,6 +427,7 @@ gPlayerFacingPosition: @ 2039A04
.align 2
.include "src/battle_transition.o"
.align 2
gUnknown_2039A30: @ 2039A30
.space 0x4
@ -437,10 +438,8 @@ gUnknown_2039A34: @ 2039A34
.include "src/save.o"
.align 2
.include "src/mystery_event_script.o"
gUnknown_203AAB0: @ 203AAB0
.space 0x4
.align 2
.include "src/fldeff_sweetscent.o"
.align 2
.include "src/learn_move.o"
.align 2