infinite ammo cheat

This commit is contained in:
pennyrigate 2023-04-07 14:47:20 -04:00
parent 408c1062ed
commit 353fb7f89e
3 changed files with 71 additions and 61 deletions

View file

@ -17,6 +17,7 @@ var debug = false
var allow_sword = false
var moon_jump = false
var cfox_mode = false
var infinite_arrows = false
# cheat code entry
var entry_index = 0
var entry = false
@ -144,3 +145,5 @@ func _enter_code():
Game.get_map().rotation_degrees = -2
"CFOX":
cfox_mode = true
"BANDANA":
infinite_arrows = true

File diff suppressed because one or more lines are too long

View file

@ -111,6 +111,9 @@ func _physics_process(delta):
if Debug.cfox_mode == true:
anims.play("idle")
anims.set_speed_scale(0)
#Infinite arrows
if Debug.infinite_arrows == true:
Game.arrows = 99
func _process_idle():
if anims.get_current_animation() != "idle": anims.play("idle")