Commit dcc11b0b by BellCodeEditor

save project

parent ed3da318
Showing with 4 additions and 3 deletions
...@@ -29,9 +29,10 @@ while True: ...@@ -29,9 +29,10 @@ while True:
jumpstate = "up" jumpstate = "up"
wukong = hero[index] wukong = hero[index]
index += 1 if jumpstate == "running":
if index == 4: index += 1
index = 0 if index == 4:
index = 0
if jumpstate == "up": if jumpstate == "up":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment