address review comments
This commit is contained in:
@@ -163,6 +163,6 @@ extern u16 gUnionRoomOfferedSpecies;
|
|||||||
extern u8 gUnionRoomRequestedMonType;
|
extern u8 gUnionRoomRequestedMonType;
|
||||||
|
|
||||||
void StartUnionRoomBattle(u16 battleFlags);
|
void StartUnionRoomBattle(u16 battleFlags);
|
||||||
u8 UnionRoom_CreateTask_CallBC2ReturnFromLinkTrade(void);
|
u8 UnionRoom_CreateTask_CallCB2ReturnFromLinkTrade(void);
|
||||||
|
|
||||||
#endif //GUARD_UNION_ROOM_H
|
#endif //GUARD_UNION_ROOM_H
|
||||||
|
|||||||
+3
-3
@@ -26,7 +26,7 @@
|
|||||||
#include "constants/cable_club.h"
|
#include "constants/cable_club.h"
|
||||||
#include "constants/field_weather.h"
|
#include "constants/field_weather.h"
|
||||||
|
|
||||||
u32 UnusedVarNeededToMatch;
|
u32 UnusedVarNeededToMatch[8];
|
||||||
|
|
||||||
static void Task_Linkup0(u8 taskId);
|
static void Task_Linkup0(u8 taskId);
|
||||||
static void Task_Linkup1(u8 taskId);
|
static void Task_Linkup1(u8 taskId);
|
||||||
@@ -403,7 +403,7 @@ static void Task_Linkup_6a(u8 taskId)
|
|||||||
{
|
{
|
||||||
// Dumb trick required to match
|
// Dumb trick required to match
|
||||||
if (gLinkType == LINKTYPE_0x4411)
|
if (gLinkType == LINKTYPE_0x4411)
|
||||||
UnusedVarNeededToMatch += 0;
|
*UnusedVarNeededToMatch += 0;
|
||||||
DestroyLinkPlayerCountDisplayWindow(gTasks[taskId].data[5]);
|
DestroyLinkPlayerCountDisplayWindow(gTasks[taskId].data[5]);
|
||||||
EnableBothScriptContexts();
|
EnableBothScriptContexts();
|
||||||
DestroyTask(taskId);
|
DestroyTask(taskId);
|
||||||
@@ -876,7 +876,7 @@ static void Task_StartWirelessCableClubTrade(u8 taskId)
|
|||||||
case 3:
|
case 3:
|
||||||
if (IsLinkTaskFinished())
|
if (IsLinkTaskFinished())
|
||||||
{
|
{
|
||||||
UnionRoom_CreateTask_CallBC2ReturnFromLinkTrade();
|
UnionRoom_CreateTask_CallCB2ReturnFromLinkTrade();
|
||||||
DestroyTask(taskId);
|
DestroyTask(taskId);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
+1
-1
@@ -1735,7 +1735,7 @@ static void Task_CallCB2ReturnFromLinkTrade(u8 taskId)
|
|||||||
DestroyTask(taskId);
|
DestroyTask(taskId);
|
||||||
}
|
}
|
||||||
|
|
||||||
u8 UnionRoom_CreateTask_CallBC2ReturnFromLinkTrade(void)
|
u8 UnionRoom_CreateTask_CallCB2ReturnFromLinkTrade(void)
|
||||||
{
|
{
|
||||||
u8 taskId = CreateTask(Task_CallCB2ReturnFromLinkTrade, 0);
|
u8 taskId = CreateTask(Task_CallCB2ReturnFromLinkTrade, 0);
|
||||||
|
|
||||||
|
|||||||
@@ -75,7 +75,6 @@ gUnknown_3005078: @ 3005078
|
|||||||
.include "task.o"
|
.include "task.o"
|
||||||
.align 2
|
.align 2
|
||||||
.include "cable_club.o"
|
.include "cable_club.o"
|
||||||
.space 0x1C
|
|
||||||
.align 2
|
.align 2
|
||||||
.include "image_processing_effects.o"
|
.include "image_processing_effects.o"
|
||||||
.align 2
|
.align 2
|
||||||
|
|||||||
Reference in New Issue
Block a user