Merge pull request #91 from golemgalvanize/summary

partially decompile pokemon_summary_screen
This commit is contained in:
Diegoisawesome 2017-10-22 20:16:16 -05:00 committed by GitHub
commit 88230e8d16
5 changed files with 3706 additions and 7827 deletions

File diff suppressed because it is too large Load Diff

View File

@ -40,7 +40,10 @@ gUnknown_0861CD14:: @ 861CD14
.incbin "baserom.gba", 0x61cd14, 0x18 .incbin "baserom.gba", 0x61cd14, 0x18
gUnknown_0861CD2C:: @ 861CD2C gUnknown_0861CD2C:: @ 861CD2C
.incbin "baserom.gba", 0x61cd2c, 0xa7 .incbin "baserom.gba", 0x61cd2c, 0x27
gUnknown_0861CD53:: @ 861CD53
.incbin "baserom.gba", 0x61cd53, 0x80
gUnknown_0861CDD3:: @ 861CDD3 gUnknown_0861CDD3:: @ 861CDD3
.incbin "baserom.gba", 0x61cdd3, 0x81 .incbin "baserom.gba", 0x61cdd3, 0x81

View File

@ -256,6 +256,25 @@
#define TYPE_MUL_NORMAL 10 #define TYPE_MUL_NORMAL 10
#define TYPE_MUL_SUPER_EFFECTIVE 20 #define TYPE_MUL_SUPER_EFFECTIVE 20
#define BS_GET_TARGET 0
#define BS_GET_ATTACKER 1
#define BS_GET_EFFECT_BANK 2
#define BS_ATTACKER_WITH_PARTNER 4 // for atk98_status_icon_update
#define BS_GET_ATTACKER_SIDE 8 // for atk1E_jumpifability
#define BS_GET_NOT_ATTACKER_SIDE 9 // for atk1E_jumpifability
#define BS_GET_SCRIPTING_BANK 10
#define BS_GET_OPPONENT1 12
#define BS_GET_PLAYER2 13
#define BS_GET_OPPONENT2 14
// for battle script commands
#define CMP_EQUAL 0x0
#define CMP_NOT_EQUAL 0x1
#define CMP_GREATER_THAN 0x2
#define CMP_LESS_THAN 0x3
#define CMP_COMMON_BITS 0x4
#define CMP_NO_COMMON_BITS 0x5
struct TrainerMonNoItemDefaultMoves struct TrainerMonNoItemDefaultMoves
{ {
u16 iv; u16 iv;
@ -263,6 +282,9 @@ struct TrainerMonNoItemDefaultMoves
u16 species; u16 species;
}; };
u8 AbilityBattleEffects(u8 caseID, u8 bank, u8 ability, u8 special, u16 moveArg);
u8 GetBankSide(u8 bank);
struct TrainerMonItemDefaultMoves struct TrainerMonItemDefaultMoves
{ {
u16 iv; u16 iv;

View File

@ -254,6 +254,7 @@ SECTIONS {
asm/fldeff_groundshake.o(.text); asm/fldeff_groundshake.o(.text);
asm/fossil_specials.o(.text); asm/fossil_specials.o(.text);
src/berry_fix_program.o(.text); src/berry_fix_program.o(.text);
src/pokemon_summary_screen.o(.text);
asm/pokemon_summary_screen.o(.text); asm/pokemon_summary_screen.o(.text);
asm/pokenav.o(.text); asm/pokenav.o(.text);
asm/rayquaza_scene.o(.text); asm/rayquaza_scene.o(.text);

3679
src/pokemon_summary_screen.c Executable file

File diff suppressed because it is too large Load Diff