summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIIMarckus <iimarckus@gmail.com>2012-10-21 17:44:12 -0600
committerIIMarckus <iimarckus@gmail.com>2012-10-21 17:44:12 -0600
commit913b5cda789cbe889b78528aca2175a5be2626c8 (patch)
tree306b986d91144f99888f87a7e988ae688520386e
parent2247516d8ec877cc28ef38b8c5d79d02dc228cfb (diff)
downloadhaxwiki-913b5cda789cbe889b78528aca2175a5be2626c8.tar.gz
haxwiki-913b5cda789cbe889b78528aca2175a5be2626c8.zip
Fix previous
-rw-r--r--RGBY/Scripting_Reference.mdwn198
1 files changed, 99 insertions, 99 deletions
diff --git a/RGBY/Scripting_Reference.mdwn b/RGBY/Scripting_Reference.mdwn
index 4d7162c..9d9031b 100644
--- a/RGBY/Scripting_Reference.mdwn
+++ b/RGBY/Scripting_Reference.mdwn
@@ -626,103 +626,103 @@ note3: following pointers are little-endian (actually middle-endian: |bank|littl
<table>
<thead><tr><th>ID</th><th>Pointer</th><th>Purpose</th></tr></thead>
-<tr><td> 00</td><td> 0F 604D| </td></tr>
-<tr><td> 01</td><td> 0F C670| </td></tr>
-<tr><td> 02</td><td> 0F 7370| </td></tr>
-<tr><td> 03</td><td> 0B 407E| </td></tr>
-<tr><td> 04</td><td> 0F 0371 |magnify backpics </td></tr>
-<tr><td> 05</td><td> 1E BA5A| </td></tr>
-<tr><td> 06</td><td> 03 3271| </td></tr>
-<tr><td> 07</td><td> 03 A576 |restore mon’s health (es.: 1st rival battle) </td></tr>
-<tr><td> 08</td><td> 1E 5E4D |animations maybe?? </td></tr>
-<tr><td> 09</td><td> 03 1E77| </td></tr>
-<tr><td> 0a</td><td> 03 1E77| </td></tr>
-<tr><td> 0b</td><td> 03 1D78| </td></tr>
-<tr><td> 0c</td><td> 03 3678|subtract coins (BCD operation (decimal adjust)) </td></tr>
-<tr><td> 0d</td><td> 03 1E77| </td></tr>
-<tr><td> 0e</td><td> 03 1E77| </td></tr>
-<tr><td> 0f</td><td> 03 5078| </td></tr>
-<tr><td> 10</td><td> 03 6676 |RAMtbls:D737/9A/ED..setBit,resByte(\{bit}),b={0,1,2}c=[aaaaabbb] </td></tr>
-<tr><td> 11</td><td> 03 D771 |make an object visible (flags: d5a6-d5c6) [opposite of ID=15] </td></tr>
-<tr><td> 12</td><td> 03 A671 |check shown/hidden objects (flags starting at $d5a6) </td></tr>
-<tr><td> 13</td><td> 03 9C46| </td></tr>
-<tr><td> 14</td><td> 0F 834A| </td></tr>
-<tr><td> 15</td><td> 03 C871 |make an object invisible (flags: d5a6-) [opposite of ID=11] </td></tr>
-<tr><td> 16</td><td> 03 C871| </td></tr>
-<tr><td> 17</td><td> 03 9E6E| </td></tr>
-<tr><td> 18</td><td> 03 5078 |initialize flags (and things like itemsack, etc.) </td></tr>
-<tr><td> 19</td><td> 03 5447 |load tileset header </td></tr>
-<tr><td> 1a</td><td> 0E 5B6F |GetLevUpAtks\_ </td></tr>
-<tr><td> 1b</td><td> 01 436E| </td></tr>
-<tr><td> 1c</td><td> 03 A578 |check item in bag </td></tr>
-<tr><td> 1d</td><td> 03 B53E| </td></tr>
-<tr><td> 1e</td><td> 03 2E3E |give item (b = item\_ID, c = item\_num) </td></tr>
-<tr><td> 1f</td><td> 12 EB40 |blink screen for 4 frames [example: poisoned pokemon] </td></tr>
-<tr><td> 20</td><td> 03 BA78 |somehow related to apply\_movement </td></tr>
-<tr><td> 21</td><td> 12 FF40| </td></tr>
-<tr><td> 22</td><td> 03 2979 |somehow related to apply\_movement </td></tr>
-<tr><td> 23</td><td> 03 A079| </td></tr>
-<tr><td> 24</td><td> 12 2541| </td></tr>
-<tr><td> 25</td><td> 03 1D7A| </td></tr>
-<tr><td> 26</td><td> 03 DC79| </td></tr>
-<tr><td> 27</td><td> 01 B05A| </td></tr>
-<tr><td> 28</td><td> 0F 026D| </td></tr>
-<tr><td> 29</td><td> 10 0040| </td></tr>
-<tr><td> 2a</td><td> 0E 1C6D |GetEvos’ subset (label: Predef\_2a\_) </td></tr>
-<tr><td> 2b</td><td> 1C 8C77| </td></tr>
-<tr><td> 2c</td><td> 0F 186F| </td></tr>
-<tr><td> 2d</td><td> 01 5F5A| </td></tr>
-<tr><td> 2e</td><td> 03 036A |Bio screen, gym-leaders/badges arrangement </td></tr>
-<tr><td> 2f</td><td> 10 F350| </td></tr>
-<tr><td> 30</td><td> 1C 6D49| </td></tr>
-<tr><td> 31</td><td> 1E DA5D| </td></tr>
-<tr><td> 32</td><td> 10 8256 |load intro(copyrights,Gamefreak,NidoVSJigg) </td></tr>
-<tr><td> 33</td><td> 1E 6958| </td></tr>
-<tr><td> 34</td><td> 1C 5D4B| </td></tr>
-<tr><td> 35</td><td> 03 8645| </td></tr>
-<tr><td> 36</td><td> 04 5369| </td></tr>
-<tr><td> 37</td><td> 04 576B| </td></tr>
-<tr><td> 38</td><td> 10 E250| </td></tr>
-<tr><td> 39</td><td> 15 0F69| </td></tr>
-<tr><td> 3a</td><td> 10 1050 |convert Mon\_ID Chaotic-to-Dex </td></tr>
-<tr><td> 3b</td><td> 01 A162 |decompr sprite(hl=ptr,b=bank)& arrange[used in BioMenu & not only] </td></tr>
-<tr><td> 3c</td><td> 03 546F| </td></tr>
-<tr><td> 3d</td><td> 10 D142 |load DexPage (INPUT:[$d11e]=DexMonID) </td></tr>
-<tr><td> 3e</td><td> 0E B86F |GetWildMonAtks\_ </td></tr>
-<tr><td> 3f</td><td> 1C 0A77 |SAVE GAME </td></tr>
-<tr><td> 40</td><td> 1C 2B60 |send SGB-packs at beginning (MLT\_REQ,DATA\_SND,PCT\_TRN,…) </td></tr>
-<tr><td> 41</td><td> 03 1371| </td></tr>
-<tr><td> 42</td><td> 17 5E5B| </td></tr>
-<tr><td> 43</td><td> 04 3E77| </td></tr>
-<tr><td> 44</td><td> 04 6377| </td></tr>
-<tr><td> 45</td><td> 1C DF5D |load SGB packages (PAL\_SET) </td></tr>
-<tr><td> 46</td><td> 17 DC40 |load dex screen (es:lab when choosing starter) </td></tr>
-<tr><td> 47</td><td> 03 E572| </td></tr>
-<tr><td> 48</td><td> 03 1D7A| </td></tr>
-<tr><td> 49</td><td> 0F EC4D| </td></tr>
-<tr><td> 4a</td><td> 1C 604F |TownMap (in Dex only?) </td></tr>
-<tr><td> 4b</td><td> 09 6B7D| </td></tr>
-<tr><td> 4c</td><td> 05 477C |balloon over head (cd4f:personID, cd50:([!][?][^\_^]) </td></tr>
-<tr><td> 4d</td><td> 01 AF5A| </td></tr>
-<tr><td> 4e</td><td> 01 EB64| </td></tr>
-<tr><td> 4f</td><td> 0D A17C| </td></tr>
-<tr><td> 50</td><td> 1C 0F78 |save dex & party infos to SRAM1 </td></tr>
-<tr><td> 51</td><td> 1C BD76 |load dex & party infos from SRAM1 </td></tr>
-<tr><td> 52</td><td> 1C E875 |load SAV from SRAM1 </td></tr>
-<tr><td> 53</td><td> 1C E277 |save current bank’s stored mons to SRAM1 </td></tr>
-<tr><td> 54</td><td> 1C D95A| </td></tr>
-<tr><td> 55</td><td> 1D 5C40| </td></tr>
-<tr><td> 56</td><td> 11 6941| </td></tr>
-<tr><td> 57</td><td> 1E BA45| </td></tr>
-<tr><td> 58</td><td> 1E 1045| </td></tr>
-<tr><td> 59</td><td> 03 BE45| </td></tr>
-<tr><td> 5a</td><td> 03 0B46| </td></tr>
-<tr><td> 5b</td><td> 03 994D| </td></tr>
-<tr><td> 5c</td><td> 01 E14D |check H/S obj (RAM\_Table D5CE, FF-term.) ??? </td></tr>
-<tr><td> 5d</td><td> 09 987D| </td></tr>
-<tr><td> 5e</td><td> 03 7374 |related to AttacksData </td></tr>
-<tr><td> 5f</td><td> 04 EF68| </td></tr>
-<tr><td> 60</td><td> 04 F668| </td></tr>
-<tr><td> 61</td><td> 07 C649| </td></tr>
-<tr><td> 62</td><td> 16 3550| </td></tr>
+<tr><td> 00</td><td> 0F 604D</td><td> </td></tr>
+<tr><td> 01</td><td> 0F C670</td><td> </td></tr>
+<tr><td> 02</td><td> 0F 7370</td><td> </td></tr>
+<tr><td> 03</td><td> 0B 407E</td><td> </td></tr>
+<tr><td> 04</td><td> 0F 0371 </td><td>magnify backpics </td></tr>
+<tr><td> 05</td><td> 1E BA5A</td><td> </td></tr>
+<tr><td> 06</td><td> 03 3271</td><td> </td></tr>
+<tr><td> 07</td><td> 03 A576 </td><td>restore mon’s health (es.: 1st rival battle) </td></tr>
+<tr><td> 08</td><td> 1E 5E4D </td><td>animations maybe?? </td></tr>
+<tr><td> 09</td><td> 03 1E77</td><td> </td></tr>
+<tr><td> 0a</td><td> 03 1E77</td><td> </td></tr>
+<tr><td> 0b</td><td> 03 1D78</td><td> </td></tr>
+<tr><td> 0c</td><td> 03 3678</td><td>subtract coins (BCD operation (decimal adjust)) </td></tr>
+<tr><td> 0d</td><td> 03 1E77</td><td> </td></tr>
+<tr><td> 0e</td><td> 03 1E77</td><td> </td></tr>
+<tr><td> 0f</td><td> 03 5078</td><td> </td></tr>
+<tr><td> 10</td><td> 03 6676 </td><td>RAMtbls:D737/9A/ED..setBit,resByte(\{bit}),b={0,1,2}c=[aaaaabbb] </td></tr>
+<tr><td> 11</td><td> 03 D771 </td><td>make an object visible (flags: d5a6-d5c6) [opposite of ID=15] </td></tr>
+<tr><td> 12</td><td> 03 A671 </td><td>check shown/hidden objects (flags starting at $d5a6) </td></tr>
+<tr><td> 13</td><td> 03 9C46</td><td> </td></tr>
+<tr><td> 14</td><td> 0F 834A</td><td> </td></tr>
+<tr><td> 15</td><td> 03 C871 </td><td>make an object invisible (flags: d5a6-) [opposite of ID=11] </td></tr>
+<tr><td> 16</td><td> 03 C871</td><td> </td></tr>
+<tr><td> 17</td><td> 03 9E6E</td><td> </td></tr>
+<tr><td> 18</td><td> 03 5078 </td><td>initialize flags (and things like itemsack, etc.) </td></tr>
+<tr><td> 19</td><td> 03 5447 </td><td>load tileset header </td></tr>
+<tr><td> 1a</td><td> 0E 5B6F </td><td>GetLevUpAtks\_ </td></tr>
+<tr><td> 1b</td><td> 01 436E</td><td> </td></tr>
+<tr><td> 1c</td><td> 03 A578 </td><td>check item in bag </td></tr>
+<tr><td> 1d</td><td> 03 B53E</td><td> </td></tr>
+<tr><td> 1e</td><td> 03 2E3E </td><td>give item (b = item\_ID, c = item\_num) </td></tr>
+<tr><td> 1f</td><td> 12 EB40 </td><td>blink screen for 4 frames [example: poisoned pokemon] </td></tr>
+<tr><td> 20</td><td> 03 BA78 </td><td>somehow related to apply\_movement </td></tr>
+<tr><td> 21</td><td> 12 FF40</td><td> </td></tr>
+<tr><td> 22</td><td> 03 2979 </td><td>somehow related to apply\_movement </td></tr>
+<tr><td> 23</td><td> 03 A079</td><td> </td></tr>
+<tr><td> 24</td><td> 12 2541</td><td> </td></tr>
+<tr><td> 25</td><td> 03 1D7A</td><td> </td></tr>
+<tr><td> 26</td><td> 03 DC79</td><td> </td></tr>
+<tr><td> 27</td><td> 01 B05A</td><td> </td></tr>
+<tr><td> 28</td><td> 0F 026D</td><td> </td></tr>
+<tr><td> 29</td><td> 10 0040</td><td> </td></tr>
+<tr><td> 2a</td><td> 0E 1C6D </td><td>GetEvos’ subset (label: Predef\_2a\_) </td></tr>
+<tr><td> 2b</td><td> 1C 8C77</td><td> </td></tr>
+<tr><td> 2c</td><td> 0F 186F</td><td> </td></tr>
+<tr><td> 2d</td><td> 01 5F5A</td><td> </td></tr>
+<tr><td> 2e</td><td> 03 036A </td><td>Bio screen, gym-leaders/badges arrangement </td></tr>
+<tr><td> 2f</td><td> 10 F350</td><td> </td></tr>
+<tr><td> 30</td><td> 1C 6D49</td><td> </td></tr>
+<tr><td> 31</td><td> 1E DA5D</td><td> </td></tr>
+<tr><td> 32</td><td> 10 8256 </td><td>load intro(copyrights,Gamefreak,NidoVSJigg) </td></tr>
+<tr><td> 33</td><td> 1E 6958</td><td> </td></tr>
+<tr><td> 34</td><td> 1C 5D4B</td><td> </td></tr>
+<tr><td> 35</td><td> 03 8645</td><td> </td></tr>
+<tr><td> 36</td><td> 04 5369</td><td> </td></tr>
+<tr><td> 37</td><td> 04 576B</td><td> </td></tr>
+<tr><td> 38</td><td> 10 E250</td><td> </td></tr>
+<tr><td> 39</td><td> 15 0F69</td><td> </td></tr>
+<tr><td> 3a</td><td> 10 1050 </td><td>convert Mon\_ID Chaotic-to-Dex </td></tr>
+<tr><td> 3b</td><td> 01 A162 </td><td>decompr sprite(hl=ptr,b=bank)& arrange[used in BioMenu & not only] </td></tr>
+<tr><td> 3c</td><td> 03 546F</td><td> </td></tr>
+<tr><td> 3d</td><td> 10 D142 </td><td>load DexPage (INPUT:[$d11e]=DexMonID) </td></tr>
+<tr><td> 3e</td><td> 0E B86F </td><td>GetWildMonAtks\_ </td></tr>
+<tr><td> 3f</td><td> 1C 0A77 </td><td>SAVE GAME </td></tr>
+<tr><td> 40</td><td> 1C 2B60 </td><td>send SGB-packs at beginning (MLT\_REQ,DATA\_SND,PCT\_TRN,…) </td></tr>
+<tr><td> 41</td><td> 03 1371</td><td> </td></tr>
+<tr><td> 42</td><td> 17 5E5B</td><td> </td></tr>
+<tr><td> 43</td><td> 04 3E77</td><td> </td></tr>
+<tr><td> 44</td><td> 04 6377</td><td> </td></tr>
+<tr><td> 45</td><td> 1C DF5D </td><td>load SGB packages (PAL\_SET) </td></tr>
+<tr><td> 46</td><td> 17 DC40 </td><td>load dex screen (es:lab when choosing starter) </td></tr>
+<tr><td> 47</td><td> 03 E572</td><td> </td></tr>
+<tr><td> 48</td><td> 03 1D7A</td><td> </td></tr>
+<tr><td> 49</td><td> 0F EC4D</td><td> </td></tr>
+<tr><td> 4a</td><td> 1C 604F </td><td>TownMap (in Dex only?) </td></tr>
+<tr><td> 4b</td><td> 09 6B7D</td><td> </td></tr>
+<tr><td> 4c</td><td> 05 477C </td><td>balloon over head (cd4f:personID, cd50:([!][?][^\_^]) </td></tr>
+<tr><td> 4d</td><td> 01 AF5A</td><td> </td></tr>
+<tr><td> 4e</td><td> 01 EB64</td><td> </td></tr>
+<tr><td> 4f</td><td> 0D A17C</td><td> </td></tr>
+<tr><td> 50</td><td> 1C 0F78 </td><td>save dex & party infos to SRAM1 </td></tr>
+<tr><td> 51</td><td> 1C BD76 </td><td>load dex & party infos from SRAM1 </td></tr>
+<tr><td> 52</td><td> 1C E875 </td><td>load SAV from SRAM1 </td></tr>
+<tr><td> 53</td><td> 1C E277 </td><td>save current bank’s stored mons to SRAM1 </td></tr>
+<tr><td> 54</td><td> 1C D95A</td><td> </td></tr>
+<tr><td> 55</td><td> 1D 5C40</td><td> </td></tr>
+<tr><td> 56</td><td> 11 6941</td><td> </td></tr>
+<tr><td> 57</td><td> 1E BA45</td><td> </td></tr>
+<tr><td> 58</td><td> 1E 1045</td><td> </td></tr>
+<tr><td> 59</td><td> 03 BE45</td><td> </td></tr>
+<tr><td> 5a</td><td> 03 0B46</td><td> </td></tr>
+<tr><td> 5b</td><td> 03 994D</td><td> </td></tr>
+<tr><td> 5c</td><td> 01 E14D </td><td>check H/S obj (RAM\_Table D5CE, FF-term.) ??? </td></tr>
+<tr><td> 5d</td><td> 09 987D</td><td> </td></tr>
+<tr><td> 5e</td><td> 03 7374 </td><td>related to AttacksData </td></tr>
+<tr><td> 5f</td><td> 04 EF68</td><td> </td></tr>
+<tr><td> 60</td><td> 04 F668</td><td> </td></tr>
+<tr><td> 61</td><td> 07 C649</td><td> </td></tr>
+<tr><td> 62</td><td> 16 3550</td><td> </td></tr>
</table>