1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-20 08:54:15 +00:00

fix ledge options; change produced elf name

This commit is contained in:
jugeeya 2019-06-20 08:52:46 -07:00
parent 65b324848b
commit 4f77960003
2 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@ include $(DEVKITPRO)/libnx/switch_rules
# - icon.jpg # - icon.jpg
# - <libnx folder>/default_icon.jpg # - <libnx folder>/default_icon.jpg
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
TARGET := hitbox_visualizer TARGET := training_modpack
BUILD := build BUILD := build
SOURCES := source SOURCES := source
DATA := data DATA := data

View file

@ -95,9 +95,9 @@ namespace app::lua_bind {
if (StatusModule::status_kind(module_accessor) == FIGHTER_STATUS_KIND_CLIFF_WAIT) { if (StatusModule::status_kind(module_accessor) == FIGHTER_STATUS_KIND_CLIFF_WAIT) {
if (transition_id == FIGHTER_STATUS_TRANSITION_TERM_ID_CONT_CLIFF_CLIMB) { if (transition_id == FIGHTER_STATUS_TRANSITION_TERM_ID_CONT_CLIFF_CLIMB) {
int status = 0; int status = 0;
int ledge_case = LEDGE_OPTION; int ledge_case = LEDGE_STATE;
if (LEDGE_OPTION == RANDOM_LEDGE) if (LEDGE_STATE == RANDOM_LEDGE)
ledge_case = app::sv_math::rand(hash40("fighter"), 4) + 1; ledge_case = app::sv_math::rand(hash40("fighter"), 4) + 1;
switch (ledge_case) { switch (ledge_case) {