Skip to content

Commit

Permalink
fix potion position
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatNateDev committed Aug 2, 2024
1 parent e5da097 commit 03ec400
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
A pokemon game with my own spin on it that is only the battle mode
TODO:\
Reposition some sprites in the bag\
catching\
add pokemon switching\
make items do stuff\
Expand Down
Binary file modified assets/items/hyper_potion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/items/super_potion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion scripts/data.gd
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ class_name savedata
@export var starter : String
@export var Money : int = 1000
@export var Items : Dictionary = {
"potion": 1,
"potion": 5,
"super_potion": 5,
"hyper_potion": 5,
}
5 changes: 5 additions & 0 deletions scripts/items.gd
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ func _on_main_window_run_items(item):
#click pokemon
#handle heals
pass
"poke_ball":
#throw
#catch_rate
#handle fail and catch
pass
4 changes: 2 additions & 2 deletions scripts/items_array.gd
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class_name itemlist
var list = ["potion","super_potion","hyper_potion"]
var prices = [20,100,500]
var list = ["potion","super_potion","hyper_potion","poke_ball"]
var prices = [20,100,500,100]

0 comments on commit 03ec400

Please sign in to comment.