I’m having trouble with allowing the player to boost some stats at the start of the game

The error I’m getting is twofold- it is possible to input More AP than you have. For example, you have 6 ap points to play with, you can add 4 to luck and have 2 left BUT still add 4 to skill

and the option to reset doesn’t reset, I have used *set command to return the values to the original state but this doesn’t work

```
*label init
*temp ap 6
*temp skill_limit 4
*temp stamina_limit 6
*temp luck_limit 4
*label choose_stats
You have ${ap} AP left to spend to increase your stats. Which stat do you want to increase
*choice
#Skill
How many AP will you spend to increase skill? (1 - ${skill_limit})
*input_number stat1 1 skill_limit
*set skill +stat1
*goto adjust_ap
#Stamina
How many AP will you spend to increase stamina? (1 - ${stamina_limit})
*input_number stat1 1 stamina_limit
*set stamina +stat1
*goto adjust_ap
#luck
How many AP will you spend to increase luck? (1 - ${luck_limit})
*input_number stat1 1 luck_limit
*set luck +stat1
*goto adjust_ap
#I'm finished spending AP
*goto done
#Reset stats and AP
*set skill 8
*set stamina 17
*set luck 8
*goto init
*label adjust_ap
*set ap -stat1
*if ap < 1
*goto done
*if skill_limit > ap
*set skill_limit ap
*if stamina_limit > ap
*set stamina_limit ap
*if luck_limit > ap
*set luck_limit ap
*goto choose_stats
*label done
*goto_scene club
```