-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
da4b2f2
commit ebc7891
Showing
3 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
extends Control | ||
signal animation(item) | ||
func _on_main_window_run_items(item): | ||
func _on_main_window_run_items(item,enemy): | ||
match item: | ||
"potion": | ||
#run pokemon menu | ||
#click pokemon | ||
#handle heals | ||
pass | ||
"poke_ball": | ||
animation.emit(item) | ||
animation.emit(item,enemy) | ||
#catch_rate | ||
#handle fail and catch | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters