1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-12-12 11:29:50 +00:00
Commit graph

692 commits

Author SHA1 Message Date
jugeeya
8b91b452e5 Merge branch 'master' of https://github.com/jugeeya/UltimateTrainingModpack 2020-07-12 10:39:32 -07:00
jugeeya
f8b61f485a add StageManager 2020-07-12 10:39:23 -07:00
sidschingis
c735ad5c6e
Add Bowser UpB Workaround (#109)
* Add Bowser UpB Workaround

Bowser uses a different status during upB for some reason

* Use Constants
2020-07-09 11:35:44 -07:00
jugeeya
6f5c30fd18
missed tech effect with hitbox visualization on 2020-07-07 08:28:54 -07:00
jugeeya
0fa9778d0c
get artifact before creating zip 2020-07-05 16:10:13 -07:00
jugeeya
7c9741ebdb
correct overlay binary path 2020-07-05 15:51:22 -07:00
jugeeya
1878b532d0
correct make path 2020-07-05 15:39:11 -07:00
jugeeya
2aab589899
Update rust.yml 2020-07-05 15:37:08 -07:00
jugeeya
31e2a802cb
submodule checkout 2020-07-05 15:32:42 -07:00
jugeeya
e3c2442eae
use DKP Docker container 2020-07-05 15:29:49 -07:00
jugeeya
746252ba50
Attempt with apt install 2020-07-05 13:41:14 -07:00
jugeeya
07275db0de
Change arch? 2020-07-05 13:35:34 -07:00
jugeeya
ebdc1ebad3
Attempt to fix workflow 2020-07-05 13:20:27 -07:00
sidschingis
0fc8fdf999
Followups (#108)
* Fix Late Mash

Fixed being a frame late
Flag is now immediately returned until the action is performed

Also restore Airdodge =>  Shield when grounded behavior

* Update TrainingModpackOverlay

* Add Follow Ups WIP

Attack followups will currently overwrite the aerial toggle

* Simplify Shield

Extra attack handling is no longer needed

* Apply Action Enum

Replacing Mash

* Fix Random OOS

* Implement Queued Mashes

* Update Shield Suspension

Removed need for frame counter.
Update shield suspension when the mash buffer is updated.

Fixes follow ups oos

* Cleanup

* Cleanup

* Update Aerial Flags

* Fix Aerial Flag

* Fix Copy Paste Error

* Use Mash Toggles For Ledge Jump

Moved menu logic to buffer_menu_mash
2020-07-05 13:13:54 -07:00
sidschingis
a19245e126
Fix Mash Options (#107)
* Fix Late Mash

Fixed being a frame late
Flag is now immediately returned until the action is performed

Also restore Airdodge =>  Shield when grounded behavior

* Update TrainingModpackOverlay
2020-07-03 15:16:21 -07:00
jugeeya
ee7a485f11
Revert to previous hitbox methods 2020-06-30 07:59:53 -07:00
jugeeya
0540470c55
Fix DEVKITPRO release link 2020-06-29 16:08:02 -07:00
sidschingis
e665509042
Add Fast Fall Frame Delay + OOS Reaction Frame Delay (#105)
* Fix Full Hop Rising Aerials

* Add Fast Fall Delay

* Fix Frame Counter Reset

Fixed not resetting if landing before being able to fastfall

* Update Frame Counter

Moved delay logic to frame counter module

Update unsafe blocks

* Add OOS Reaction Time
2020-06-29 16:00:01 -07:00
sidschingis
a12ae53140
Add Remaining Smash Attacks (#104) 2020-06-28 14:24:41 -07:00
sidschingis
5cb981c268
Jump Toggles (#103)
* Code Formatting

* Cleanup

* Implement Tilts

* Update TrainingModpackOverlay

* Move is_shielding to Commong

* Fix Flash Shield

Fixed not dropping shield again

* Formatting

* Remove ToDos

* Use Generic OnOff Enum

* Add Falling Aerial Toggle

* Implement Full Hop Toggle

* Add Comments
2020-06-28 13:41:51 -07:00
sidschingis
186c6ddc2d
Implement Tilts (#102)
* Code Formatting

* Cleanup

* Implement Tilts

* Update TrainingModpackOverlay

* Move is_shielding to Commong

* Fix Flash Shield

Fixed not dropping shield again

* Formatting

* Remove ToDos
2020-06-28 12:21:20 -07:00
sidschingis
c6cf52af33
Refactor Mash Module (#101)
* Add Frame Counter Module

* Allow Multiple Frame Counters

* Apply Frame Counter

* Add Enum For Fighter Id

* Simplify Calculation

* Restore Original Indentation

* Add Transition Checks

Check if the transition is possible before setting the flag

* Add Normal Attacks

* Update Mash

Recactored attack options
Extracted sub functions

* Remove deprecated function

* Update Mash Module

Handle all attack options through the mash module.

* Fix Some OOS Options

Jump/Aerial/UpB

* Update Mash Module

Return the flag in get_command_flag so we don't need to borrow a mut

Removed transition check for usmash for now

* Fix Multi Buffer

Fixed buffering more than once per shield interaction

* Fix drop shield options

Options that require shield drop now work

* Use Minimal Checks

Commented out unnecessary checks

* Fix USmash OOS

* Fix Roll/Dodge OOS

* Fix Aerials

Fixed starting 1 frame late

* Fix USmash OOS again

* Remove PrintLns

* Update TrainingModpackOverlay

* Remove unused Methods

* Default To FastFall Off

* Update Defensive Options

Remove Shield Button Checks outside shield module.

* Update Defensive Options

Now handled through mash buffer

* Formatting

* Cleanup

* Reimplement Random Mash

* Add ToDos
2020-06-28 11:02:26 -07:00
sidschingis
63a3358a0f
Add Frame Counter Module (#98)
* Add Frame Counter Module

* Allow Multiple Frame Counters

* Apply Frame Counter

* Add Enum For Fighter Id

* Simplify Calculation

* Restore Original Indentation
2020-06-27 07:22:02 -07:00
sidschingis
099ae06e89
Add Fast Fall Toggle (#97)
* Add Fast Fall Toggle

Spark effect is currently missing

* Change Condition Order

* Fix Spark Effect
2020-06-19 14:54:37 -07:00
jugeeya
a3ea3e7332 fix save states staling, position under stage 2020-06-17 23:01:19 -07:00
jugeeya
0a6a26b6b2 refactor to as_lua_int and lua bools when possible 2020-06-16 22:43:42 -07:00
sidschingis
7befc07555
Frame Advantage Refactor (#91)
* Auto Format

* Remove unused include

* Add Module

Moved Frame advantage code to separate module
2020-06-16 12:22:14 -07:00
jugeeya
ab211a7aee Always remove menu conf file on startup (for version upgrade bug) 2020-06-16 09:16:45 -07:00
jugeeya
79a84fba3a
Calculate Frame Advantage (#85)
* initial attempt

* frame adv correct calculation

* add to menu

* add menu support

* changed menu return button combo
2020-06-15 23:13:03 -07:00
jugeeya
2b2a2eb440
Fix fwrite call 2020-06-15 15:27:41 -07:00
jugeeya
889299eca6
Fix c_str macro 2020-06-15 15:09:26 -07:00
jugeeya
2014d486e3
use c_str macro 2020-06-15 14:10:42 -07:00
jugeeya
41b1ba8717
Add imports necessary for removing conf file 2020-06-15 12:57:18 -07:00
jugeeya
12a6ede92b
Remove conf file on startup 2020-06-15 12:42:19 -07:00
jugeeya
94d9d5623d
Add Directional Air Dodge (#86)
* Rename Enum

DirectionalInfluence => Direction

* Move Angle Calculation To Common

Renamed NO_DI to ANGLE_NONE and moved to common

* Simplify Condition

Removed need to check for no DI twice

* Reuse Angle Calculation

get_random now returns a random direction instead of the angle directly

* Add Left Stick Mod

Currently only used for air dodges

* Extract Shared Condition

* Remove Unused Includes

* Fix Air Dodge Mash

Fixed always flashing shield when set to air dodge mash

* Update Menu

* Update TrainingModpackOverlay
2020-06-15 10:57:08 -07:00
sidschingis
401bf7e98b
Fix Grab OOS (#89)
Fixed skipping the 4f additional shield hold
2020-06-15 07:25:25 -07:00
sidschingis
ee5f4d9a8b Update TrainingModpackOverlay 2020-06-13 22:52:29 +02:00
sidschingis
21b16253cf Update Menu 2020-06-13 22:52:27 +02:00
sidschingis
3287a96b63 Fix Air Dodge Mash
Fixed always flashing shield when set to air dodge mash
2020-06-13 22:51:23 +02:00
sidschingis
8b1713fed0 Remove Unused Includes 2020-06-13 22:35:21 +02:00
sidschingis
ce865a70f2 Extract Shared Condition 2020-06-13 22:34:37 +02:00
sidschingis
be16194528 Add Left Stick Mod
Currently only used for air dodges
2020-06-13 22:15:44 +02:00
sidschingis
2fc1c75ab6 Reuse Angle Calculation
get_random now returns a random direction instead of the angle directly
2020-06-13 21:55:23 +02:00
sidschingis
cca5072185 Simplify Condition
Removed need to check for no DI twice
2020-06-13 21:35:03 +02:00
sidschingis
715c28dd6c Move Angle Calculation To Common
Renamed NO_DI to ANGLE_NONE and moved to common
2020-06-13 21:34:06 +02:00
sidschingis
18290df236 Rename Enum
DirectionalInfluence => Direction
2020-06-13 21:24:15 +02:00
jugeeya
919196c38b account for grounded options when mashing in neutral 2020-06-12 23:04:05 -07:00
sidschingis
32f7fb0808
Add Neutral Mashing Toggle (#84)
* Add Mash Toggle

Added toggle to set the cpu to also mash in neutral

* Add Utility Functions

is_grounded
is_airborne

* Fix Neutral Mashing Aerials

Added jump flag

* Update README.md

* Changed Button Combination

Changed mash Toggle to Attack + Dpad Up/Down

* use Tesla overlay for mash in neutral

* add menu commit for neutral mash

* Update README.md

Co-authored-by: jugeeya <jugeeya@live.com>
2020-06-12 22:45:25 -07:00
sidschingis
e67c69ed63
Code Refactoring (#83)
* Update TrainingModpackOverlay

* Apply Auto Formatter

* Auto Format

* Extract Modding Behaviour

Moved to separate function

* Guard Clause

* Guard Clause

* Use Match Clause

* Fix Comment

* Extract Shared Condition

* Extract Modding Function

* Guard Clause

* Guard Clause

* Guard Clause

* Guard Clause

* Guard Clause

* Extract Shared Code

* Fix Variable Reference

Properly borrow the variables

* Fix Missed Tech Buffering

* Move Training Mode Check To Start

* Guard Clause

* Guard Clause

* Extract Modding Behaviour

* Extract Function

For randomizing the di angle

* Guard Clause

* Guard Clause

* Simplify Loop

Separate condition from behaviour

* Extract Modding Behaviour

* Extract Modding Behaviour

* Formatting

* Fix Typos

* Fix Typos

* Fix Mash Toggle

! was binding stronger than ==

* Move Negation Inwards

* Reduce Nesting

* Extract Shared Condition

* Extract Method

Moved random command list definition to separate function
2020-06-11 14:57:35 -07:00
jugeeya
e5ff95ce61
ok no more badge commits 2020-06-10 14:03:02 -07:00