Skip to content

Commit

Permalink
Remove move slot.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mysticial committed Jan 14, 2024
1 parent a6e4866 commit 5a63e8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ WildItemFarmer::WildItemFarmer()
LockMode::UNLOCK_WHILE_RUNNING,
999, 0, 999
)
#if 0
, TRICK_MOVE_SLOT(
"<b>Trick Move Slot:",
{
Expand All @@ -77,14 +78,15 @@ WildItemFarmer::WildItemFarmer()
LockMode::UNLOCK_WHILE_RUNNING,
0
)
#endif
, INITIAL_TRICK_PP(
"<b>Initial Trick PP:",
LockMode::UNLOCK_WHILE_RUNNING,
0, 0, 16
)
{
PA_ADD_OPTION(ITEMS_TO_CLONE);
PA_ADD_OPTION(TRICK_MOVE_SLOT);
// PA_ADD_OPTION(TRICK_MOVE_SLOT);
PA_ADD_OPTION(INITIAL_TRICK_PP);
}

Expand Down Expand Up @@ -253,7 +255,7 @@ void WildItemFarmer::program(SingleSwitchProgramEnvironment& env, BotBaseContext
pbf_mash_button(context, BUTTON_B, 30);
continue;
}
if (move_select.move_to_slot(env.console, context, (uint8_t)TRICK_MOVE_SLOT.current_value())){
if (move_select.move_to_slot(env.console, context, 0)){
pbf_press_button(context, BUTTON_A, 20, 30);
trick_used = true;
last_trick_attempt = current_time();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class WildItemFarmer : public SingleSwitchProgramInstance{

private:
SimpleIntegerOption<uint16_t> ITEMS_TO_CLONE;
IntegerEnumDropdownOption TRICK_MOVE_SLOT;
// IntegerEnumDropdownOption TRICK_MOVE_SLOT;
SimpleIntegerOption<uint8_t> INITIAL_TRICK_PP;
// GoHomeWhenDoneOption GO_HOME_WHEN_DONE;
// EventNotificationOption NOTIFICATION_STATUS_UPDATE;
Expand Down

0 comments on commit 5a63e8b

Please sign in to comment.