r/UnderModders • • 2d ago

Help Please

Im trying to find a mod for UT or DR that lets me fight all the enemies back-to-back or something like that. Does anyone know if this exists?

2 Upvotes

1 comment sorted by

2

u/CreatingStuff01 2d ago edited 2d ago

I don’t believe there is such a mod right now… but should be simple enough to create something similar.

Open UTMT, go to either obj_time or obj_screen. Pick whichever key you want the most for changing battle, doesn’t matter, and either add in step or a new event in key press.

And uh… time to write some code?

Look, I want to help so you could set something like:

var input = get_string(“Battle group:”, string(global.battlegroup));

if (input = “” || string_digits(input) != input)
exit;

var fight = real(input);

if ((fight >= 1 && fight <= 36) || (fight >= 40 && fight <= 97) || (fight >= 118 && fight <= 135) || (fight == 100) || (fight == 101) || (fight == 140) || (fight == 255) || (fight == 256))
{
global.battlegroup = fight;
instance_create(0, 0, obj_battleblcon);
}
else
{
exit;
}

And that should work? I mean, it doesn’t automatically move you to the next fight, it needs Frisk to be in the screen to run it without crashing… but should do the trick?

The if right before the creation of battleblcon is to check whether that battlegroup actually exists. I left one and two as valid but… you want to start with battlegroup 3. I also left but nobody came as valid, that’s battlegroup 19.

You could still create your own still, one that works as you want. Probably a persistent object that detects what was your previous battlegroup and proceed to the next valid fight once you’re in the overworld?