Apply style suggestions from code review

This commit is contained in:
Eduardo Quezada D'Ottone 2022-09-03 21:22:15 -04:00 committed by GitHub
parent 13cc640b78
commit 4017fc3e20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 372 additions and 452 deletions

View File

@ -52,7 +52,7 @@ Debug_FlagsNotSetMessage::
Debug_FlagsNotSetMessage_Text: Debug_FlagsNotSetMessage_Text:
.string "Feature unavailable!\n" .string "Feature unavailable!\n"
.string "Please define a usable flag in:\l" .string "Please define a usable flag in:\l"
.string "'include/constants/debug{UNDERSCORE}config.h'!$" .string "'include/constants/overworld{UNDERSCORE}config.h'!$"
Debug_Script_1:: Debug_Script_1::
end end

View File

@ -138,8 +138,8 @@
#define B_FLAG_INVERSE_BATTLE 0 // If this flag is set, the battle's type effectiveness are inversed. For example, fire is super effective against water. #define B_FLAG_INVERSE_BATTLE 0 // If this flag is set, the battle's type effectiveness are inversed. For example, fire is super effective against water.
#define B_FLAG_FORCE_DOUBLE_WILD 0 // If this flag is set, all land and surfing wild battles will be double battles. #define B_FLAG_FORCE_DOUBLE_WILD 0 // If this flag is set, all land and surfing wild battles will be double battles.
#define B_SMART_WILD_AI_FLAG 0 // If not 0, you can set this flag in a script to enable smart wild pokemon #define B_SMART_WILD_AI_FLAG 0 // If not 0, you can set this flag in a script to enable smart wild pokemon
#define B_FLAG_NO_BAG_USE 0 // If this flag is set, the debug function in the Utility submenu to disable the bag in battle can be used. #define B_FLAG_NO_BAG_USE 0 // If this flag is set, the ability to use the bag in battle is disabled.
#define B_FLAG_NO_CATCHING 0 // If this flag is set, the debug function in the Utility submenu to disable catching of wild Pokémon can be used. #define B_FLAG_NO_CATCHING 0 // If this flag is set, the ability to catch wild Pokémon is disabled.
// Var Settings // Var Settings
// To use the following features in scripting, replace the 0s with the var ID you're assigning it to. // To use the following features in scripting, replace the 0s with the var ID you're assigning it to.

View File

@ -16,7 +16,6 @@
#include "berry.h" #include "berry.h"
#include "bg.h" #include "bg.h"
#include "data.h" #include "data.h"
#include "debug.h"
#include "decompress.h" #include "decompress.h"
#include "dma3.h" #include "dma3.h"
#include "event_data.h" #include "event_data.h"

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,6 @@
#include "bike.h" #include "bike.h"
#include "coins.h" #include "coins.h"
#include "data.h" #include "data.h"
#include "debug.h"
#include "event_data.h" #include "event_data.h"
#include "event_object_lock.h" #include "event_object_lock.h"
#include "event_object_movement.h" #include "event_object_movement.h"

View File

@ -1,6 +1,5 @@
#include "global.h" #include "global.h"
#include "battle_setup.h" #include "battle_setup.h"
#include "debug.h"
#include "event_data.h" #include "event_data.h"
#include "event_object_movement.h" #include "event_object_movement.h"
#include "field_effect.h" #include "field_effect.h"