make battle dome compile
This commit is contained in:
@@ -4,7 +4,9 @@
|
|||||||
#include "string_util.h"
|
#include "string_util.h"
|
||||||
#include "task.h"
|
#include "task.h"
|
||||||
#include "text.h"
|
#include "text.h"
|
||||||
#include "battle_frontier_1.h"
|
|
||||||
|
extern bool32 sub_8196094(void);
|
||||||
|
extern void sub_8196080(u8*);
|
||||||
|
|
||||||
EWRAM_DATA u8 gUnknown_020375BC = 0;
|
EWRAM_DATA u8 gUnknown_020375BC = 0;
|
||||||
|
|
||||||
@@ -66,7 +68,7 @@ bool8 ShowFieldMessage(u8 *str)
|
|||||||
|
|
||||||
void sub_8098214(u8 taskId)
|
void sub_8098214(u8 taskId)
|
||||||
{
|
{
|
||||||
if (sub_8196094() == 0)
|
if (!sub_8196094())
|
||||||
{
|
{
|
||||||
gUnknown_020375BC = 0;
|
gUnknown_020375BC = 0;
|
||||||
DestroyTask(taskId);
|
DestroyTask(taskId);
|
||||||
|
|||||||
+1
-1
@@ -5,9 +5,9 @@
|
|||||||
#include "event_data.h"
|
#include "event_data.h"
|
||||||
#include "string_util.h"
|
#include "string_util.h"
|
||||||
#include "battle.h"
|
#include "battle.h"
|
||||||
#include "battle_frontier_1.h"
|
|
||||||
#include "gym_leader_rematch.h"
|
#include "gym_leader_rematch.h"
|
||||||
|
|
||||||
|
extern void sub_8197080(u8 *dest);
|
||||||
extern const u8 gTrainerClassNames[][13];
|
extern const u8 gTrainerClassNames[][13];
|
||||||
|
|
||||||
// Static type declarations
|
// Static type declarations
|
||||||
|
|||||||
Reference in New Issue
Block a user