Skip to content

Commit e85117d

Browse files
the fix
cant believe i missed this
1 parent a96587a commit e85117d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

fighters/kirby/src/opff.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1116,14 +1116,14 @@ pub unsafe fn lucas_offense_charge(fighter: &mut smash::lua2cpp::L2CFighterCommo
11161116

11171117
// Piranha Plant Ptooie Stance
11181118
pub unsafe fn packun_ptooie_stance(fighter: &mut smash::lua2cpp::L2CFighterCommon, boma: &mut BattleObjectModuleAccessor, status_kind: i32) {
1119-
if fighter.is_status(*FIGHTER_KIRBY_STATUS_KIND_SPECIAL_N_SWALLOW) {
1119+
if fighter.is_status(*FIGHTER_KIRBY_STATUS_KIND_SPECIAL_N_SWALLOW_WAIT) {
11201120
let opponent_boma = fighter.get_grabbed_opponent_boma();
11211121
let grabbed_fighter = smash::app::utility::get_kind(opponent_boma);
11221122
if grabbed_fighter == *FIGHTER_KIND_PACKUN {
11231123
let old_stance = VarModule::get_int(boma.object(), vars::packun::instance::CURRENT_STANCE);
11241124
let new_stance = VarModule::get_int(opponent_boma.object(), vars::packun::instance::CURRENT_STANCE);
11251125
if new_stance != old_stance {
1126-
// println!("Copying Packun Flower's Current Stance, which is {}", new_stance);
1126+
// println!("Copying Pirahna Plant's Current Stance, which is {}", new_stance);
11271127
VarModule::set_int(boma.object(), vars::packun::instance::CURRENT_STANCE, new_stance);
11281128
}
11291129
}

fighters/kirby/src/status.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ pub fn install() {
2727
gaogaen_special_n::install();
2828
ridley_special_n::install();
2929
ganon_special_n::install();
30+
diddy_special_n_cancel::install();
3031
koopa_special_n::install();
3132
luigi_special_n::install();
3233
mario_special_n::install();
@@ -39,7 +40,7 @@ pub fn add_statuses() {
3940
special_hi_h::install();
4041
ganon_special_n_float::install();
4142
littlemac_special_n_cancel::install();
42-
diddy_special_n_cancel::install();
43+
diddy_special_n_cancel::install_custom();
4344
}
4445

4546
#[smashline::fighter_init]

0 commit comments

Comments
 (0)