Skip to content

Commit

Permalink
reveal + sand bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jjppof committed Jan 7, 2024
1 parent 656c957 commit 6ac0a29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion base/field_abilities/RevealFieldPsynergy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class RevealFieldPsynergy extends FieldAbilities {
this.reveal_wave_filter.destroy();
this.waving_tween.stop();
if (stop_char && !this.controllable_char.jumping && !previous_psynergy_state) {
this.controllable_char.stop_char(true);
this.controllable_char.stop_char(!this.controllable_char.sand_mode);
}
this.data.audio.play_se("psynergy/11");
const reset_states = () => {
Expand Down
5 changes: 4 additions & 1 deletion base/field_abilities/SandFieldPsynergy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ export class SandFieldPsynergy extends FieldAbilities {
frequency: 100,
repeat: 7,
emitter_data_key: "dust",
random_animation_start: true,
},
],
emission_finish: 1000,
Expand All @@ -230,7 +231,9 @@ export class SandFieldPsynergy extends FieldAbilities {
}

private finish() {
this.reset_map();
if (!this.controllable_char.on_reveal) {
this.reset_map();
}
this.controllable_char.casting_psynergy = false;
this.enable_update = false;
this.return_to_idle_anim();
Expand Down

0 comments on commit 6ac0a29

Please sign in to comment.