Comments (2)
question to solve this:
why isor get_global_script_context().is_active
needed here:
That code is responsible for handling the scripted scene where the player exits the entrance building, walks past the security guard and waits for the security guard to go and block the door -- since during that sequence you cannot control the player avatar, so the navigation function would fail.
It only needs to be active in the 'South' section of the Safari Zone (where the entrance building is located) but it didn't seem to be a problem to also have it run in the 'South-East' section. But that's obviously not true due to the in-game bug you've found.
Thanks for pointing it out!
from pokebot-gen3.
looking a bit more into it.. it seems to be a bug in emerald
when using rock smash and then getting a battle the global script context does not shut down completely:
so when the last rock the bot smashes starts a battle the global script context never shuts down completely.
instead sGlobalScriptContextStatus
stays on 1 (CONTEXT_WAITING
) instead of 0 (CONTEXT_SHUTDOWN
)
and what the bot currently checks to see if the script context is active (self._data[1] != 0
) is 1 (SCRIPT_MODE_BYTECODE
) instead of 0 (SCRIPT_MODE_STOPPED
)
question to solve this:
why is or get_global_script_context().is_active
needed here:
pokebot-gen3/modules/modes/rock_smash.py
Lines 159 to 166 in 4460cce
from pokebot-gen3.
Related Issues (20)
- Nugget bridge is having freezing and not continuing to battle HOT 1
- Deoxys Formes not exporting HOT 5
- rocksmash nosepass stopping after a couple loops HOT 4
- Daycare mode Bike is not going to full speed HOT 1
- FRLG Roamer Mode - raise BotModeError
- the skypilar bot puzzle solver is not working properly
- Phase Same Pokémon Streak and Unown
- Slugma ability displayed incorrectly
- macOS issue installing mGBA HOT 1
- Roamers FRLG throwing errors seems at random at the start of the loop HOT 1
- WEB API - get items hangs after first api call
- TypeError in Linux HOT 2
- keckleon reset for rt 119 encounters other pokemon
- NPC gets in the way of the Togepi pathing for the bot mode
- Feebass Error with new Profile
- Roamers on LG is throwing errors after a few loops
- Support Windows on ARM HOT 2
- Johto starters emerald japan hanging after picking pokemon HOT 2
- issue with Card for Regirock, Registeel, and Regice
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pokebot-gen3.