Fixed LL ending being at day instead of night

This commit is contained in:
JHDev2006
2025-09-21 16:51:14 +01:00
parent 00a18147b0
commit c26bf96dd9
3 changed files with 7 additions and 2 deletions

View File

@@ -597,7 +597,7 @@ func get_power_up(power_name := "") -> void:
refresh_hitbox()
func check_for_block() -> void:
if test_move(global_transform, Vector2.UP * 2):
if test_move(global_transform, (Vector2.UP * gravity_vector) * 4):
crouching = true
func power_up_animation(new_power_state := "") -> void:

View File

@@ -19,7 +19,7 @@ func _ready() -> void:
AudioManager.set_music_override(AudioManager.MUSIC_OVERRIDES.ENDING, 9999999, false)
Global.can_time_tick = false
SaveManager.visited_levels[SaveManager.get_level_idx(9, 1)] = "1"
$Text2/Hero.text = tr("CUTSCENE_LL_PEACH_4" if Global.player_characters[0] != "3" else "CUTSCENE_LL_PEACH_4F")
$Text2/Hero.text = tr("CUTSCENE_LL_PEACH_4" if Global.player_characters[0] != 3 else "CUTSCENE_LL_PEACH_4F")
$Text2/Hurrah.text = tr("CUTSCENE_LL_PEACH_3").replace("{PLAYER}", tr(Player.CHARACTER_NAMES[int(Global.player_characters[0])]))
$ThankYou.text = tr("CUTSCENE_CASTLE_PEACH_1").replace("{PLAYER}", tr(Player.CHARACTER_NAMES[int(Global.player_characters[0])]))
func _process(_delta: float) -> void: