Jump to content

Meta-map script activation: Difference between revisions

Line 82:
For example, item 100's quantity controls the map script for Route 8 (address D601 in Red/Blue, D600 in Yellow). Though a quantity of 1 for this item will set up a Special-stat encounter (as if activating the Trainer escape glitch), out of bounds values are glitch scripts associated with this glitch.
 
This method is ideal for altering a meta-map script at ease, especially if it corresponds to an item quantity. The player may also be able to manipulate all 256 meta-map scripts for the map (but if the script corresponds with an item, manipulating a Cancel (0xFF) for script 255 might be harder). Furthermore, as there are only 256 item/quantity pairs in the expanded PC and the addresses after item 128 quantity are a mirror of items 1-128 again, it is usually only possible to corrupt up to D63A (W_MANSION1CURSCRIPT) thisin way.Red/Blue Theor first meta-script address RB:W_OAKSLABCURSCRIPTD639 (D5F0)both isW_CINNABARISLANDCURSCRIPT PCand item 91's quantity. The last accessible one (W_MANSION1CURSCRIPT) (D63A)in isYellow PCthis item 128's quantityway.
 
The first meta-script address in both Red/Blue and Yellow is W_OAKSLABCURSCRIPT (Red/Blue, D5F0/ Yellow, D5EF) and is PC item 91's quantity. The last accessible ones W_MANSION1CURSCRIPT (Red/Blue, D63A) and W_CINNABARISLANDCURSCRIPT/W_MANSION1CURSCRIPT (Yellow, D639) are PC item 128's quantity.
 
=== Triggering mechanism with the Trainer escape glitch ===
Cookies help us deliver our services. By using our services, you agree to our use of cookies.