Merge pull request #465 from golemgalvanize/decompile_ice

Decompile ice
This commit is contained in:
Diegoisawesome
2018-12-21 02:18:03 -06:00
committed by GitHub
7 changed files with 1531 additions and 2988 deletions
-2944
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -3484,7 +3484,7 @@ Move_HAIL:
loadspritegfx ANIM_TAG_ICE_CRYSTALS loadspritegfx ANIM_TAG_ICE_CRYSTALS
createvisualtask sub_8116620, 10, 1, 3, 0, 6, RGB_BLACK createvisualtask sub_8116620, 10, 1, 3, 0, 6, RGB_BLACK
waitforvisualfinish waitforvisualfinish
createvisualtask sub_810C918, 5 createvisualtask AnimTask_Hail1, 5
loopsewithpan SE_W258, 0, 8, 10 loopsewithpan SE_W258, 0, 8, 10
waitforvisualfinish waitforvisualfinish
createvisualtask sub_8116620, 10, 1, 3, 6, 0, RGB_BLACK createvisualtask sub_8116620, 10, 1, 3, 6, 0, RGB_BLACK
@@ -3956,7 +3956,7 @@ Move_MIST_BALL:
createsprite gComplexPaletteBlendSpriteTemplate, ANIM_ATTACKER, 0, 1, 1, 1, RGB(23, 16, 31), 16, 0x7FFF, 16 createsprite gComplexPaletteBlendSpriteTemplate, ANIM_ATTACKER, 0, 1, 1, 1, RGB(23, 16, 31), 16, 0x7FFF, 16
delay 0 delay 0
playsewithpan SE_W114, 0 playsewithpan SE_W114, 0
createvisualtask sub_810C324, 5 createvisualtask AnimTask_LoadMistTiles, 5
createvisualtask sub_8116620, 10, 4, 3, 0, 16, RGB_WHITE createvisualtask sub_8116620, 10, 4, 3, 0, 16, RGB_WHITE
delay 8 delay 8
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 4, 0, 70, 0 createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 4, 0, 70, 0
@@ -6937,7 +6937,7 @@ Mist1:
Move_HAZE: Move_HAZE:
waitforvisualfinish waitforvisualfinish
playsewithpan SE_W114, 0 playsewithpan SE_W114, 0
createvisualtask sub_810C0A0, 5 createvisualtask AnimTask_Haze1, 5
delay 30 delay 30
createvisualtask sub_8116620, 10, 0x780, 2, 0, 16, RGB_BLACK createvisualtask sub_8116620, 10, 0x780, 2, 0, 16, RGB_BLACK
delay 0x5A delay 0x5A
+4
View File
@@ -172,6 +172,10 @@ void oamt_add_pos2_onto_pos1(struct Sprite *sprite);
u8 GetBattlerSpriteDefault_Y(u8 battlerId); u8 GetBattlerSpriteDefault_Y(u8 battlerId);
u8 GetSubstituteSpriteDefault_Y(u8 battlerId); u8 GetSubstituteSpriteDefault_Y(u8 battlerId);
// battle_anim_80A64EC.c
void sub_80A64EC(struct Sprite *sprite);
void sub_80A718C(struct Sprite *sprite);
// battle_anim_80A9C70.s // battle_anim_80A9C70.s
#define STAT_ANIM_PLUS1 15 #define STAT_ANIM_PLUS1 15
#define STAT_ANIM_PLUS2 39 #define STAT_ANIM_PLUS2 39
+4
View File
@@ -134,6 +134,10 @@ struct Weather
// field_weather.c // field_weather.c
extern struct Weather gWeather; extern struct Weather gWeather;
extern struct Weather *const gWeatherPtr; extern struct Weather *const gWeatherPtr;
extern const u16 gUnknown_083970E8[];
// field_weather_effect.c
extern const u8 gWeatherFog1Tiles[];
void StartWeather(void); void StartWeather(void);
void ChangeWeather(u8 weather); void ChangeWeather(u8 weather);
+2
View File
@@ -4748,6 +4748,8 @@ extern const u32 gBattleAnimBackgroundImage_Surf[];
extern const u32 gBattleAnimBackgroundPalette_Surf[]; extern const u32 gBattleAnimBackgroundPalette_Surf[];
extern const u32 gBattleAnimBackgroundImageMuddyWater_Pal[]; extern const u32 gBattleAnimBackgroundImageMuddyWater_Pal[];
extern const u32 gBattleAnimFogTilemap[];
// Berry blender // Berry blender
extern const u32 gBerryBlenderArrowTiles[]; extern const u32 gBerryBlenderArrowTiles[];
extern const u32 gBerryBlenderStartTiles[]; extern const u32 gBerryBlenderStartTiles[];
+1 -1
View File
@@ -162,7 +162,7 @@ SECTIONS {
src/water.o(.text); src/water.o(.text);
src/fire.o(.text); src/fire.o(.text);
src/electric.o(.text); src/electric.o(.text);
asm/ice.o(.text); src/ice.o(.text);
src/fight.o(.text); src/fight.o(.text);
src/poison.o(.text); src/poison.o(.text);
asm/flying.o(.text); asm/flying.o(.text);
+1517 -40
View File
File diff suppressed because it is too large Load Diff