# Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

## Arbitrary Code Execution Discussion

### entermap routine - Page 1

Previous Page

- 1

Next Page

#### entermap routine

Posted by: flor12344
Date: 2018-06-07 02:52:22
I'm trying to make ACE make you enter a map with the entermap routine but not succeeding, Can someone tell me how to use it right?

#### Re: entermap routine

Posted by: Sherkel
Date: 2018-11-15 08:04:05
In case you're still wondering, what's the setup you're currently using? Also, changing maps is much more easily done by changing quantities in the expanded item pack than making an ACE program from scratch.

#### Re: entermap routine

Posted by: flor12344
Date: 2018-12-07 03:20:08
I was using a map script to make it so when you enter the map you go to another one by using the entermap routine in the map script

#### Re: entermap routine

Posted by: Sherkel
Date: 2018-12-07 09:08:57
That's not very descriptive. Maybe you're referring to a well-known script someone wrote, but if so, I don't know it. I was wondering what your specific setup was.
Seriously, though, don't use ACE to change your location. Just toss items from slot 36 in your bag. That corresponds to $D365. $D31E + ($48 / 2) = $D365. $48 / 2 = $24 = 36. I don't remember off the top of my head which map is which index though.

#### Re: entermap routine

Posted by: flor12344
Date: 2018-12-07 09:29:03
well i have to use ace because it should be automated. i want to make a softlock at the elite four, so i have to make it put you at the first room when you die

#### Re: entermap routine

Posted by: ISSOtm
Date: 2018-12-08 07:15:02
You can also simply alter the address that saves the map you return to when dying.

#### Re: entermap routine

Posted by: flor12344
Date: 2018-12-09 05:44:09
i have tryed that but its looks wrong

#### Re: entermap routine

Posted by: ISSOtm
Date: 2018-12-09 06:09:16
That's not very descriptive.
Previous Page

- 1

Next Page