mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
dont stay far away as notplayer as often
This commit is contained in:
parent
2d107e5c35
commit
fbb0de1538
1 changed files with 4 additions and 0 deletions
|
@ -310,6 +310,7 @@ local function choose_movement()
|
|||
local LIM = give_space
|
||||
if swap_side and (on_right ~= (my_x > t_x) or GameGetFrameNum() % 300 == 299) then
|
||||
swap_side = false
|
||||
give_space = 100
|
||||
end
|
||||
if swap_side then
|
||||
LIM = 0
|
||||
|
@ -391,6 +392,9 @@ local function choose_movement()
|
|||
state.control_a = false
|
||||
state.control_d = false
|
||||
end
|
||||
if give_space > 50 and GameGetFrameNum() % 30 == 0 and not last_did_hit then
|
||||
give_space = give_space - 10
|
||||
end
|
||||
end
|
||||
|
||||
local function position_to_area_number(x, y)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue