1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-28 04:44:06 +00:00
Commit graph

325 commits

Author SHA1 Message Date
jugeeya
6da6aa41b7
Clippy Linter Fixes (#323)
* initial

* small fix

* Update rust.yml

* Update lib.rs

* Format Rust code using rustfmt

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-24 23:48:50 -07:00
jugeeya
63d31499f5
Use colors in Quick Menu (#325) 2022-03-24 09:27:14 -07:00
jugeeya
e4e2de0a79
Quick Menu + Ryujinx Compatibility (#313)
* Initial commit

* Format Rust code using rustfmt

* Add back fs calls

* working with drawing

* wow we're almost there

* multi-lists working, selection within tui working

* working with tabs

* working with smash

* amend warnings, fix menu actually saving inputs

* small refactors

* Fully working!

* Fix warnings

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-20 11:09:25 -07:00
GradualSyrup
c6c4105fc3
cleanup and psyche up fix (#321) 2022-03-18 10:53:06 -07:00
GradualSyrup
b879762f0d
remove white flash on state load, handler will add it back if it's required (#320) 2022-03-17 20:04:40 -07:00
GradualSyrup
5422cf5e1f
Ledge Trump Fix (#317)
* initial fix with frame 19 override, need to remove debug and fix delay

* trump avoidance working, debug still present

* Cleanup
2022-03-17 09:26:58 -04:00
GradualSyrup
01a0d51548
Steve save states (#316)
* Mario, Samus, Sheik, GnW, Wii Fit, Hero. Wario incomplete.

* Wario, Mewtwo, Plant

* Rob, Lucario, Squirtle

* Steve, Sora, Incin attempted, all easy ones done

* Steve!

* Donkey Kong

* Most flashes, Samus/Gunner effects

* All except Sheik and DK

* Sheik and DK

* Hero Fix

* First Cleanup

* Cleanup 2

* Full Implementation

* subtract instead of handle

* option tweaking

* made default tools the actual defaults

* remove tar from setup

* prepare for skyline update
2022-03-14 19:45:57 -04:00
GradualSyrup
720f904985
Special charge (#303)
* Mario, Samus, Sheik, GnW, Wii Fit, Hero. Wario incomplete.

* Wario, Mewtwo, Plant

* Rob, Lucario, Squirtle

* Steve, Sora, Incin attempted, all easy ones done

* Steve!

* Donkey Kong

* Most flashes, Samus/Gunner effects

* All except Sheik and DK

* Sheik and DK

* Hero Fix

* First Cleanup

* Cleanup 2

* Remove Steve

* Cleanup with labelling and Pac-Man improvement

* Add charge from problematic merge

* ChargeState struct added, all getters converted

* All charges implemented, matching with Sheik, slight cleanup

* charge getter cleanup

* setter syntax sugar

* more getter cleanup
2022-02-28 20:47:12 -08:00
github-actions[bot]
3992b2cd58
Format Rust code using rustfmt 2022-02-25 00:17:20 +00:00
GradualSyrup
057502e02a
Use NpadGcState instead of handheld state to save trigger info (#312) 2022-02-24 16:13:34 -08:00
jugeeya
884c00b069
Metrics Pipeline (#278)
* initial commit

* plotting working

* allow plotting

* Change spacing in workflow YML

* Fix get_random_option calls

* Format Rust code using rustfmt

* Amend removed feature

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-20 19:14:22 -08:00
github-actions[bot]
54f4e002fa
Format Rust code using rustfmt 2022-02-20 21:56:22 +00:00
GradualSyrup
e18b02e985
Save State Loading Enhancements (#305)
* First attempt. Issue with beginning of misfoot voice lines being played, trying to debug and fix.

* SFX fix, additional GFX fix
2022-02-20 13:52:36 -08:00
github-actions[bot]
42ca84b820
Format Rust code using rustfmt 2022-02-10 05:07:23 +00:00
GradualSyrup
ed528c95d7
Stale Move hooks and buff cleanup (#304) 2022-02-09 21:03:30 -08:00
github-actions[bot]
d2c7ebe9ea
Format Rust code using rustfmt 2022-01-27 22:03:11 +00:00
GradualSyrup
b598aaeee2
Buffing (#297)
* continued testing

* Scuffed Acceleratle Implementation

* Cleanup and Groundwork, Only Accel

* Wii Fit complete, Joker, Hero and Cloud WIP.

* Preparing for multiple spells

* Implemented Multi Buffing

* Cloud Hook, Hero Improvements

* Nearly complete, still messing around with KO Punch

* Works for both fighters now

* Add buff icon

* Wii Fit sound cut, Sepiroth darken fixed

* Cleanup

* Fix Hero Screen Shake

* Clean up buff a bit more

* slight clean up

* Update README.md

Add Buff Options info/file
2022-01-27 13:59:41 -08:00
github-actions[bot]
35a80f83c5
Format Rust code using rustfmt 2022-01-06 07:51:23 +00:00
GradualSyrup
050792a01c
Bugfix: Save State Jostle (#299)
* Fix in !is_dead

* Move fix to get_param_int to fix all deaths

* Update save_states.rs

Reword comment to reflect the situation the code is called in
2022-01-05 23:47:36 -08:00
github-actions[bot]
a67b7af6ff
Format Rust code using rustfmt 2022-01-03 07:44:52 +00:00
GradualSyrup
ff6569b93b
Smooth save state (#298)
* Initial Test

* clean up
2022-01-02 23:41:23 -08:00
github-actions[bot]
e0645a071c
Format Rust code using rustfmt 2021-12-27 21:14:24 +00:00
GradualSyrup
b4d5afd791
Bugfix: Ice Climbers savestates (#294)
* Fix working in frame by frame. Debug commands still present.

* Save States and Menu Delay fixed

* Full basic save state functionality, Debug removed

* NanaPosMove cleanup
2021-12-26 15:28:22 -08:00
github-actions[bot]
ac81ef810f
Format Rust code using rustfmt 2021-12-26 18:11:18 +00:00
GradualSyrup
6f6ce58a88
Throw options (#293)
* Initial Creation

* Initial attempt, no pummeling or actual throw directions implemented

* All throw directions + Throw Delay working

* Medium Delay

* Cleanup and warning fixing

* Menu grammar fix

* Menu Images

* Image Fix and Language Fix

* Renormalize line endings

* Fixed into_string() vs. as_str()

* Update README

* Update Version

* Update to 3.2.0

* Update Cargo.toml

Corrected version number
2021-12-26 10:07:17 -08:00
asimon-1
f9522d2699
Bugfix: PT savestates (#292)
* Prevent PT from respawning twice during save_state loads

* Save fighter_kind in state

* Fix bug where save states might not be loaded immediately if ptrainer status was wait

* Avoid endless loop with PT if loading a save state which was set without PT

* Move is_dead to common::mod.rs
2021-12-23 20:46:17 -08:00
github-actions[bot]
81d0e34e5b
Format Rust code using rustfmt 2021-12-13 05:23:46 +00:00
asimon-1
f19bf47e2a
Slip options (#286)
* Try adding KIND_DOWN_SPOT for snake dthrow

* Fix snake dthrow status_kind

* Add slip conditions for diddy banana
2021-12-12 21:20:01 -08:00
jugeeya
b52a956f61
Enable save states toggle (#276)
* enable save state toggle

* update version to beta version

* fix

* fix 2

* Add icon
2021-09-29 08:37:11 -07:00
jugeeya
bc3d2d8df5
Add rustfmt action (#265)
* Add rustfmt action

* Update rust.yml

* Format Rust code using rustfmt

* Update consts.rs

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-14 14:05:48 -07:00
jugeeya
b454ffecfe
Fix Frame Advantage stuck at zero (#251)
* change init function

* Use menu::init
2021-09-01 10:40:08 -07:00
asimon-1
3fef1a78df
Restrict menu opening multiple times in rapid succession (#245)
Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-27 16:38:23 -07:00
jugeeya
cd01730af3
Allow frame advantage on hit for moves that send into tumble 2021-08-26 12:36:50 -07:00
jugeeya
c82cd073f4 Revert "Blujay's visualizer"
This reverts commit f8dba57044.
2021-08-24 19:27:29 -07:00
asimon-1
ee56f99652 Change menu file name to training_menu.html (#239)
Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-24 19:27:04 -07:00
jugeeya
f8dba57044 Blujay's visualizer
Use blujay's visualizer plugin for hitbox/hurtbox visualization (#236)

* working

* Update rust.yml

Fix GH Action for getting visualizer.nro

Fix to visualization, allow hitbox/hurtbox toggle
2021-08-24 19:27:04 -07:00
jugeeya
555bc6927e
add nn hid hook function 2021-08-20 12:05:01 -07:00
jugeeya
345fd619a1 use nn_hid hook for compatibility with results screen skip 2021-08-20 18:48:40 +00:00
jugeeya
f41bfff9f8
Load menu from file, write on menu exit (#222)
* Load menu from file, write on menu exit

* Update lib.rs

* Update lib.rs

* Update lib.rs

* Update lib.rs

* Update lib.rs

* Update lib.rs

* Update lib.rs

* Update menu.rs

* Try response as well

* Don't hold response variable

* use static mut option

* everything in a thread

* remove brace

* Try GH actions change

* try

* try

* use container tag

* test

* try abs path

* try checkout

* try showing

* try installing

* test proj

* try stable toolchain spec

* try image

* explicit version

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Try clippy

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* fixes

* only if the conf makes sense

* small clippy fixes
2021-08-15 18:41:40 -07:00
jugeeya
46484bafff
Make changes to satisfy clippy; add cargo clippy PR commenter (#223)
* raygun print frame advantage

* Don't release, but allow action for raygun-print branch

* Add as menu option, only print in that case

* revert change to workflow file

* fixes

* add workflow clippy spec
2021-08-14 19:06:25 -07:00
jugeeya
3d563b9450
Add back frame advantage using raygun shot printer (#219)
* raygun print frame advantage

* Don't release, but allow action for raygun-print branch

* Add as menu option, only print in that case

* revert change to workflow file
2021-08-09 21:33:03 -07:00
asimon-1
b57cf538f5
Mirrored save states (#216)
* Add mirrored save states to menu and save_states.rs

* Update LongDelay.into_string()

* Add missing submenus

* Add mirrored save states to menu and save_states.rs

* Fix outdated reference to MENU_STRUCT

* Change MIRROR_STATE type from bool to f32

* Move should_mirror call

* Add to_url_param() for SaveStateMirroring

* Fix Facing Direction mirroring bug

Co-authored-by: asimon-1 <asimon1@protonmail.com>
Co-authored-by: jugeeya <jugeeya@live.com>
2021-08-01 12:53:00 -07:00
asimon-1
8757bb9a0e
Web Menu Improvements (#214)
* Add workflow_dispatch

* Fix menu items that are too wide

* Add logic to goBackHook() to only exit if all submenus are closed, and otherwise to close the submenus

* Display question icons

* Complete into_string() for Action, Delay, and BoolFlag structs

* Update into_string() for Direction, Shield, OnOff, Action, Delay, BoolFlag, and SdiStrength to address compiler warnings

* Fix menu items that are too wide

* Add logic to goBackHook() to only exit if all submenus are closed, and otherwise to close the submenus

* Display question icons

* Complete into_string() for Action, Delay, and BoolFlag structs

* Update into_string() for Direction, Shield, OnOff, Action, Delay, BoolFlag, and SdiStrength to address compiler warnings

* Complete into_string() for LongDelay

* Reformat menu.html and fix tag pairs

* Add onoff submenu type in HTML

* Add onoff submenu type

* Add push line to add_sub_menu_onoff

* Refactor settings export to use jQuery.param()

* Set initial menu settings per URL GET parameters

* Add macro to build URL parameter string

* Fix bitflag export error

* Write menu file when modpack is loaded

* Fix OnOff displays

* Remove dev files

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-07-28 20:51:41 -07:00
asimon-1
6b87295216
Only apply ledge::is_enable_transition_term to CPU (#212)
Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-07-21 14:45:47 -07:00
asimon-1
3973ff6d65
Implement Longer Ledge Delays (#211)
* Add workflow_dispatch

* Add LongDelay bitflag type for ledge delays, and change into_index() calls to into_delay/into_longdelay

* Override default ledge climb

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-07-20 10:17:56 -04:00
asimon-1
bbbf2ac898
Launch indicator fix for #205 (#210)
* Add workflow_dispatch

* Use persistent variable to track DI case instead of trying to roll only on the first frame of hitstun

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-07-16 08:24:12 -04:00
asimon-1
5fa0ff135d
DI Indicator Fix and Left/Right Directions (#207)
* Only change DI direction on the first frame of the animation

* Add left/right DI directions

* Add L/R airdodge direction

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-06-15 19:54:19 -07:00
jugeeya
1a273f7cbf
Initial Web Menu Implementation (#170)
* initial commit with some nice css

* add beginnings of templating. revert to qa model

* add most options visually

* add parser and full input checks

* separate menu code, use ControlModule

* add tests for menu rendering locally

* wip sliders

* add AttackAngle

* remove tesla overlay

* begin with into_string

* add slider.js

* don't use in html yet

Co-authored-by: jugeeya <jugeeya@llive.com>
2021-04-14 10:21:51 -07:00
sidschingis
d24a94835e
Wall Tech Options (#188)
* Extract Method

* Untangle conditions

* Extract Method

* Fix Swapped Constants

* Apply No Tech Option

* Fix Bugs

* Return early on match

* Also cleanup ground tech

* Fix unused warning

* Support Wall Tech Jumps
2021-01-22 11:04:58 -08:00
sidschingis
8189c07e30
Add SDI Strength Toggle (#182) 2020-12-21 07:09:37 -08:00
asimon-1
509f2383ac
Ledge hang (#180)
* Initial work on ledge hang

* Change ledge hang logic from a delay to a persistent selected option

* Disallow ledge-climb if WAIT is picked

* Move is_enable_transition_term hook from lib.rs into existing mod.rs hook

Co-authored-by: Andrew Simon <asimon@domeng.com>
2020-12-10 10:03:42 -08:00
sidschingis
ebc046db1d
Add Save State Damage Toggle (#176)
Added toggle to not overwrite the damage when loading a save state
2020-11-20 09:48:14 -08:00
sidschingis
950407553f
Add Attack Angle (#174)
* Add Attack Angle

Added toggle for chosing angled attacks

* Add Help Text

* Actually Apply Help Text
2020-11-09 17:57:35 -08:00
sidschingis
30e38b1256
Add Constant Shield Toggle (#173)
* Extract Method

* Add Constant Shield

Shield that takes damage but doesn't decay

* Constant Shield Fix

* Update Shield Hold Interaction

Only set decay flag if shield hold is selected
2020-11-06 13:30:48 -08:00
jugeeya
9746349a69 refactor, disable input delay outside training, disable recording 2020-10-01 02:46:25 +00:00
jugeeya
c6d9c9c322
Small buffer mash fix 2020-09-29 08:48:24 -07:00
jugeeya
c81d996312
Fix buffer action when empty 2020-09-28 14:00:45 -07:00
jugeeya
e62d602895 refactor ANGLE_NONE 2020-09-27 23:56:18 +00:00
jugeeya
67dec0402d merge with master 2020-09-27 23:24:52 +00:00
jugeeya
67a03dd38a satisfy clippy rules 2020-09-27 22:24:50 +00:00
jugeeya
0aa387552f
input record typo 2020-09-25 21:04:34 -07:00
jugeeya
c6c600aae1 enable janky input_recording 2020-09-26 01:07:13 +00:00
jugeeya
8301d73790 use nnsdk hid imports 2020-09-26 00:57:25 +00:00
jugeeya
c83371d2c4 add all controller support for input_delay 2020-09-26 00:49:06 +00:00
sidschingis
0107e31b85
Fix Shield: Hold (#164)
Fixed the first hit not applying damage when  normal shield hold is selected
2020-09-16 13:07:06 -07:00
sidschingis
2471b4acf9
Enable Dash Attack Again (#163) 2020-09-14 14:00:42 -07:00
jugeeya
7b362c8330
Params hook refactor, basis for input delay (#162)
* use Params hook

* Add input delay
2020-09-14 13:43:06 -07:00
jugeeya
1885258c4e Refactor to use param object 2020-09-08 23:04:49 -07:00
jugeeya
e74ee787f3 Fix infinite shield with projectiles 2020-09-08 21:10:27 -07:00
jugeeya
33419b30c4 Fix tech bugs; hazards control refactor 2020-09-07 22:05:17 -07:00
jugeeya
ba939b3be1
Remove enable transition check for ground tech 2020-08-30 01:16:14 -07:00
jugeeya
02f4095c37 Add Miss Tech Options; Save States Control bug 2020-08-29 11:03:33 -07:00
sidschingis
4753258874
Shield Tilt & Refactor Training Checks (#150)
* Rename Module

left_stick => air_dodge_direction

* Extract Method

Added shared hook that is called once per frame per fighter

* Refactor Training Mode Checks

Moved checks to skyline hook

* Add Reset Module

Unlink SDI from mash toggle

* Add Shield Tilt Toggle

* Version +

* Fix Rumble

* Remove Debugging Code
2020-08-27 16:35:38 -07:00
sidschingis
7d153da81c
Add Ledge/Aerial Delay Options (#147)
* Fix Multi Followups

* Add Aerial Delay Toggle

* Add Ledge Delay Toggle

* Add More Delay Options

* Add More Delay Options

* Add Dash Toggle

* Version +
2020-08-24 13:57:22 -07:00
sidschingis
22e2852df7
Reduce SDI Pulses (#146)
Reduced SDI to every 8 frames to match the stock "CPU Shuffling: A lot"  option
2020-08-22 15:33:07 -07:00
jugeeya
aa757da61d Merge branch 'master' of https://github.com/jugeeya/UltimateTrainingModpack 2020-08-21 15:17:48 -07:00
jugeeya
1db42feab8 check_hit_stop_delay_command is not in the common NRO 2020-08-21 15:17:37 -07:00
sidschingis
1e4fa4e006
Deref Constants (style) (#144) 2020-08-21 08:42:47 -07:00
sidschingis
22c68f1b92
Reset Counter when choosing direction (#143) 2020-08-20 17:34:03 -07:00
jugeeya
15767e8cf7 remove dash attack for now 2020-08-19 20:40:49 -07:00
jugeeya
bec36ec897 fix empty mash option breaking 2020-08-19 20:31:15 -07:00
sidschingis
5fee828169
Fix Aerials (#142)
* Revert "Unnecessary global for aerial action buffer (#141)"

This reverts commit 4cc66547c0.

* Remove Check

Non Aerials will just return None in
into_attack_air_kind()
2020-08-19 15:28:33 -07:00
sidschingis
4cc66547c0
Unnecessary global for aerial action buffer (#141)
Can just use the current buffer value
2020-08-18 10:34:57 -07:00
sidschingis
53c361686f
Mash Fixes (#140)
* Fix Shield Toggle

Fixed air dodging when shield is buffered

* Update Mash Reset

Fixed followups not being cleared on reset (training mode/ save state/ tech)

Fixed resetting when landing after a mash toggle

* Version +

* Use Existing Constant

* Adjust Versioning
2020-08-17 15:05:40 -07:00
sidschingis
1835be9cfb
Add SDI Toggle (#139) 2020-08-17 12:37:02 -07:00
jugeeya
9b0ede64b9 turn off sound effects for save states 2020-08-16 18:05:45 -07:00
jugeeya
7e1d8a054f refactor Save States to structs-- fix plat issues 2020-08-16 16:57:46 -07:00
jugeeya
abf7d34332 merge with master 2020-08-16 16:33:54 -07:00
jugeeya
a7da2c15bc fix Save State bugs with Link, Richter 2020-08-16 16:33:27 -07:00
jugeeya
647e7fe27e
Save States ledge bug 2020-08-16 12:45:38 -07:00
sidschingis
c961d028d0
Apply Bit Flag (#138)
* Apply Bit Flag

Fast Fall
Full Hop
Falling Aerial

* Fix DI

Fixed neutral DI not overwriting previously set DI
2020-08-16 11:52:09 -07:00
sidschingis
da66544104
Bit Flag Refactors: Delay, Direction (#137)
* Cleanup

* Add Bit Flag

Directions

* Apply Bit Flag

Delay options

* Version +
2020-08-15 08:52:29 -07:00
sidschingis
7ff8185a65
Apply Bit Flags to Mash/Defensive Options (#136)
* Apply Bit Flag

Defensive Options

* Apply Bit Flag

Followups

* Apply Bit Flag

Mash options

* Update Version String
2020-08-14 12:12:50 -07:00
sidschingis
12807258be
Add Bitflag Macro (#135)
get_random
2020-08-14 10:35:57 -07:00
sidschingis
8feab4cf17
Shield Flash Workaround (#134)
* Fix Shield Buffer

Shield doesn't work with cat_flags

* Move unsafe declaration inwards
2020-08-13 14:20:56 -07:00
jugeeya
6dd2f395fd use alternative DI method: based on player relative position 2020-08-13 13:34:22 -07:00
jugeeya
ca4f0b3122 use alternative DI method: based on player facing direction 2020-08-12 20:29:31 -07:00
jugeeya
4f779c6f57 More mash bug fixes 2020-08-11 17:28:37 -07:00
sidschingis
3247ecb711
Bug Fixes (#133)
* Revert To Command Flags

* Fix Rising Aerial

* Fix Roll/SpotDodge
2020-08-11 15:46:46 -07:00
sidschingis
96008c6ea3
Separate Tech Rolls (#126)
* Add Wrapper for rand

* Separate Tech Rolls
2020-08-11 12:57:40 -07:00
sidschingis
48391ac27c
Revert To Command Flags (#129) 2020-08-11 12:52:46 -07:00
jugeeya
716300b01c Fix DI in/away errors 2020-08-10 20:21:45 -07:00
astraycat
0388a08a16
Tech and Ledge options as bitflags (#127)
* Change TechOptions to TechFlags

* update gitmodules

* shouldn't have pushed that

* change ledge options as well

incorp change from review
2020-08-09 22:32:49 -07:00
jugeeya
e7ec867581 fix frame advantage buffer bug 2020-08-07 17:42:14 -07:00
sidschingis
658c0fe63c
Fix Tech Followup (#123)
* Add Dash Attack

* Extract Method

try_change_status

* Code Formatting

* Fix Tech Followups

Fixed resetting after teching

* Update Mash

Restore mash after footstool
2020-07-31 08:35:05 -07:00
sidschingis
8c03361b8e
Add Dash Attack (#119)
* Add Dash Attack

* Extract Method

try_change_status

* Code Formatting
2020-07-29 13:58:46 -07:00
sidschingis
1063aa5482
Update Mash (#118)
* Update mash.rs

Use StatusModule::change_status_request_from_script

* Extract Method

* Fix Air Dodge

* Add Reset Trigger

* Update Mash

Split up buffering and performing the action

Moved performing hook to fix being a frame late
2020-07-29 12:34:34 -07:00
sidschingis
e4850705fe
Fix Airdodge (#117)
* Update mash.rs

Use StatusModule::change_status_request_from_script

* Extract Method

* Fix Air Dodge
2020-07-29 11:48:07 -07:00
sidschingis
a959a24edc
Update mash.rs (#115)
Use StatusModule::change_status_request_from_script
2020-07-24 10:41:35 -07:00
sidschingis
2aba252f10
Update Character Specifics / Fast Fall (#112)
* Add Module

Added separate module for character specific handling

* Formatting

* Update Fast Fall

Updated status check
Check against possible statuses instead of impossible ones

* Add Character Check

* Apply Character Check
2020-07-18 13:57:23 -07:00
jugeeya
2dc8b1b5b9 ensure falling for fastfall toggle 2020-07-12 10:41:48 -07:00
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
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
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
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
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
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
sidschingis
b3cf1a69f4
Code Formatting (#82)
* Update TrainingModpackOverlay

* Apply Auto Formatter
2020-06-10 11:51:43 -07:00
sidschingis
4363935a1d
Add OOS Offset (#81)
* Add Roll Options

Added forward/backwards roll options

* Update TrainingModpackOverlay

* Change Option Order

* Update TrainingModpackOverlay

* Add OOS Offset

Allow delaying OOS options until a certain number of hits have connected on shield

* Update TrainingModpackOverlay

* get_param_float  fix

Fixed applying to non CPU values

* Remove Debugging
2020-06-10 11:38:01 -07:00
sidschingis
eb0e639122
Add Roll Options (#80)
* Add Roll Options

Added forward/backwards roll options

* Update TrainingModpackOverlay

* Change Option Order

* Update TrainingModpackOverlay
2020-06-09 11:46:18 -07:00
sidschingis
9a1e572a4b
Update Hold Shield Mode (#79)
* Update Hold Shield Mode

Shield decay is paused until hit for the first time to simulate a frame perfect shield hold

* Update Readme

* Remove Debugging Code
2020-06-08 13:21:34 -07:00
jugeeya
a577e7874b add in ground bounce, ceiling, wall techs 2020-06-03 09:45:37 -07:00
jugeeya
d2b56efbb1 fix tech defensive options being slow 2020-05-24 18:17:07 -07:00
jugeeya
e7f661b10a fix tech options 2020-05-23 11:16:15 -07:00
jugeeya
4396dad31c add flash on save state, update Hash40 init 2020-05-23 00:23:02 -07:00
jugeeya
43af53dc26 various changes to hitbox visualizer 2020-05-17 14:53:02 -07:00
jugeeya
49ffcdc31c fix is_operation_cpu 2020-05-16 19:28:37 -07:00
jugeeya
bcd0ca5a28 fix footstool/trump hitstun options 2020-05-16 17:55:59 -07:00
jugeeya
c43da06180 DI fixes 2020-05-16 12:31:42 -07:00
jam1garner
a1a761889c Move DI selection from const to an enum 2020-05-16 02:27:14 -04:00
jam1garner
78e53c29bd Move tech_state from grouped consts to an enum 2020-05-16 02:18:58 -04:00
jam1garner
4d28004367 Move ledge_state from grouped consts to an enum 2020-05-16 02:08:07 -04:00
jam1garner
cb3d829e03 Move defensive_state from grouped constants to an enum 2020-05-16 01:56:58 -04:00
jam1garner
eb03831d3c Update ControlModule usage to compile with latest skyline_smash 2020-05-16 01:49:22 -04:00
jam1garner
95180e6364 Move shield_state from a group of consts to an enum 2020-05-16 01:45:35 -04:00
jam1garner
f86415830d Move mash_state from set of constants to an enum 2020-05-16 01:26:12 -04:00
jam1garner
4342f626f8 Move mash_attack_state from constants to an enum 2020-05-16 01:12:06 -04:00
jam1garner
798e18a71a Fix all style/dead_code lints 2020-05-15 23:40:27 -04:00
jam1garner
a79bedfa7f Prefix underscore to unused variables 2020-05-15 22:02:45 -04:00
jam1garner
6eb99546f9 Clean up hook installations by switching to install_hooks 2020-05-15 20:24:35 -04:00
jam1garner
cd3a6d938b Clean up various imports 2020-05-15 19:49:25 -04:00
jam1garner
f75ff6468a Change menu from pointer to reference 2020-05-15 19:43:37 -04:00
jugeeya
12ecda2dce fix graphics bugs 2020-05-15 10:04:57 -07:00
jugeeya
376985e05d OoS quick fixes 2020-05-15 08:48:34 -07:00
jugeeya
5b1b611787 fix save states 2020-05-14 13:54:32 -07:00
jugeeya
6cf353faec reformatting 2020-05-13 13:52:20 -07:00
jugeeya
329f0cd3f0 clean up imports 2020-05-13 13:36:55 -07:00
jugeeya
548b306645 huge migration, get menu working, OoS grab 2020-05-13 12:20:52 -07:00
jugeeya
7a57b8e247 new method of hitbox visualization 2020-05-06 17:50:31 -07:00
jugeeya
a5fc17904f finish porting non-beta features 2020-05-04 18:55:19 -07:00
jugeeya
06137d0929 start training mods 2020-04-30 17:36:56 -07:00