resolve review comments

This commit is contained in:
jiangzhengwenjz committed 2019-10-26 06:03:42 +08:00
1 parent 1230a5c48a
commit 1481f9e819
82 files changed
+862 -871

No files matched your search

+2 -1
View File
@@ -26,6 +26,7 @@
#include "menu_indicators.h"
#include "text_window.h"
#include "fame_checker.h"
#include "constants/trainers.h"
#define SPRITETAG_SELECTOR_CURSOR 1000
#define SPRITETAG_QUESTION_MARK 1001
@@ -878,7 +879,7 @@ static void FC_DestroyWindow(u8 windowId)
static u8 AdjustGiovanniIndexIfBeatenInGym(u8 a0)
{
if (HasTrainerBeenFought(0x15e) == TRUE)
if (HasTrainerBeenFought(TRAINER_LEADER_GIOVANNI) == TRUE)
{
if (a0 == 9)
return FAMECHECKER_GIOVANNI;