|
@@ -81,7 +81,7 @@ u16 get_speed(u8 bank) {
|
81
|
81
|
if (battle_participants[bank].status.flags.burn || battle_participants[bank].status.flags.poison || battle_participants[bank].status.flags.toxic_poison)
|
82
|
82
|
speed = speed + ((speed * 50) / 100);
|
83
|
83
|
else if (battle_participants[bank].status.flags.paralysis) {
|
84
|
|
- //cancel para
|
|
84
|
+ /* cancel para */
|
85
|
85
|
speed *= 4;
|
86
|
86
|
speed = speed + ((speed * 50) / 100);
|
87
|
87
|
}
|
|
@@ -92,7 +92,9 @@ u16 get_speed(u8 bank) {
|
92
|
92
|
speed >>= 2;
|
93
|
93
|
if (custom_battle_elements.ptr->side_affecting[get_side_from_bank(bank)].tailwind)
|
94
|
94
|
speed *= 2;
|
95
|
|
- //TODO: unburden
|
|
95
|
+ if (battle_status_3[bank].unburden)
|
|
96
|
+ speed *= 2;
|
|
97
|
+ //TODO: /* SWAMP EFFECT */
|
96
|
98
|
speed = (speed * stat_buffs[battle_participants[bank].spd_buff].dividend) / (stat_buffs[battle_participants[bank].spd_buff].divisor);
|
97
|
99
|
return (u16) (speed >> 16);
|
98
|
100
|
}
|
|
@@ -129,7 +131,8 @@ enum init_enum get_first_to_strike(u8 bank_one, u8 bank_two, u8 ignore_prio) {
|
129
|
131
|
|
130
|
132
|
s8 prio_one = 0;
|
131
|
133
|
s8 prio_two = 0;
|
132
|
|
- //note priority changing effects and abilities not added as of yet
|
|
134
|
+ /* note priority changing effects and abilities not added as of yet */
|
|
135
|
+ /* NOTE: !HANDLE PRIORITY LIKE A PROPERTY! */
|
133
|
136
|
if (battle_menu_chosen_item[bank_one] == 0)
|
134
|
137
|
prio_one = move_table[move_one].priority;
|
135
|
138
|
if (battle_menu_chosen_item[bank_two] == 0)
|