Sleipnir17

List of codes for box name execution (Pokémon Ruby/Sapphire)

Dec 6th, 2022 (edited)
3,414
1
Never
9
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 303.54 KB | None | 1 0
  1. This is a list of codes I wrote for my RS ACE method
  2. Choose the code you want to execute from the list, find the box names for that code (use the Ctrl+F function to search the name of the code), write the correct box names in your game, trigger the Arbitrary Code Execution, profit.
  3. After executing a code you should check if it was successful or not before saving the game. In the notes of each code you'll find a good way to check the correct execution of the code.
  4. If you have issues with a code please contact me using Twitter (Sleipnir_17), Reddit (Sleipnir17), Discord (Sleipnir17#2146) or Youtube (https://www.youtube.com/channel/UCwip3k3SfjMlFMm2_ZTZStg?), I'll do my best to figure out the problem and solve it.
  5. If you have requests for other codes feel free to contact me as well.
  6.  
  7. List of available codes:
  8.  
  9. -Unlock Southern Island
  10. -Teleport anywhere
  11. -Change TID or SID
  12. -Get any item
  13. -Make Groudon/Kyogre reappear
  14. -Make Rayquaza reappear
  15. -Make Regirock, Regice and Registeel reappear
  16. -Make Southern Lati@s reappear
  17. -Make Hoenn starters reappear
  18. -Release a new roamer
  19. -Make gift Beldum reappear
  20. -Make Wynaut egg reappear
  21. -Make the two fossils reappear
  22. -Allow a new distribution of Channel/Wishmaker Jirachi
  23. -**Find an arbitrary Pokémon in tall grass => go here: https://pastebin.com/4LzRRvbJ
  24. -**Fast EV train your Pokémon: go here => https://pastebin.com/H53TkHJH
  25. -Increase the amount of an item in PC storage
  26. -Increase the amount of all items in your PC storage
  27. -Get a whole case of perfect Pokéblocks
  28. -Boost all the stats of a Pokémon to 65535
  29. -Set the current Battle Tower winning streak to any value
  30. -Give 65535 Game Corner coins
  31. -Change clock
  32. -Change trainer name to any legal name
  33. -Perform a PID or TID corruption on box 9 slot 27
  34. Want more codes? Give a look here:
  35. E-Sh4rk's code generator: https://e-sh4rk.github.io/CodeGenerator/index_rs.html
  36.  
  37.  
  38. Actual codes:
  39.  
  40.  
  41. -Unlock Southern Island:
  42. Note: this code will unlock Southern Island by setting its flag and providing the ticket. Go go collect the ticket from the lottery lady in Lilycove Department Store, then check if the event is triggered by taking the Lilicove ferry to see if the flag is also correctly set.
  43. You can safely use this code even if you somehow already have the ticket or you already have the flag set, you'll simply get the missing piece from the execution, thus unlocking the event (in case you already have the ticket you'll still get a new one from the lottery but that's fine, collecting a second ticket will not add a new one to your bag)
  44. _______________________________
  45. For English versions:
  46. sbc r10,pc,DA00 E2CFACDA %% R10=PC-DA00-1=202A9EB
  47. movs r12, 38C E3B0CFE3 %% R12=38C
  48. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=2026A2A
  49. adc r12,r12, DE00 E2ACCCDE %% R12=R12+DE00=E18C
  50. -filler- BFBFFF00
  51. strh r12 [pc, 16] E1CFC1B6
  52. -filler- BFFF0000
  53. movs r11, D4 E3B0B0D4 %% R11=D4
  54. -filler- FF000000
  55. sbc r0,r11, CB E2CB00CB %% R0=R11-CB-1=8
  56. ldrh r12, [r10, 34] E1DAC3B4 %% Load target halfword
  57. adc r11,r11, C000003F E2ABB1FF %% R11=R11+C000003F=C0000113=item index
  58. -------- EEEEC000 %% Becomes E18CC000 (orr r12, r12, r0)
  59. -filler- BFBFFF00
  60. strh r12, [r10, 34] E1CAC3B4 %% Store target halfword
  61. -filler- BFFF0000
  62. strh r11, [r10, D4] E1CABDB4 %% Store item
  63. -filler- FF000000
  64. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  65. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  66. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  67. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  68. -filler- BFBFFF00
  69. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  70. -filler- BFFF0000
  71. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  72. -filler- FF000000
  73. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  74. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  75. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  76. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  77.  
  78. Box names:
  79. Box 1: (f?UnoU…o) [one …]
  80. Box 2: (.PnjR?n ) [ends with space]
  81. Box 3: (EE♀GUm ) [ends with two spaces]
  82. Box 4: (EZ……o ) [two …; ends with three spaces]
  83. Box 5: (Q Qn'Ifm) [one space after Q; righty '; upper case i]
  84. Box 6: ("!n Fzz ) [lefty "; one space after n; ends with space]
  85. Box 7: (EE'IPm ) [righty '; upper case i; ends with two spaces]
  86. Box 8: (E'CPm ) [righty '; ends with three spaces]
  87. Box 9: (z♀loy…Qn) [lower case L; one …]
  88. Box 10: (♀QnFGEn ) [ends with space]
  89. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  90. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  91. Box 13: (qU?n…QRn) [one …]
  92. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  93. _______________________________
  94. For Italian and Spanish versions:
  95. sbc r10,pc,DA00 E2CFACDA %% R10=PC-DA00-1=202A9EB
  96. movs r12, 38C E3B0CFE3 %% R12=38C
  97. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=2026A2A
  98. adc r12,r12, DE00 E2ACCCDE %% R12=R12+DE00=E18C
  99. -filler- BFBFFF00
  100. strh r12 [pc, 16] E1CFC1B6
  101. -filler- BFFF0000
  102. movs r11, D4 E3B0B0D4 %% R11=D4
  103. -filler- FF000000
  104. sbc r0,r11, CB E2CB00CB %% R0=R11-CB-1=8
  105. ldrh r12, [r10, 34] E1DAC3B4 %% Load target halfword
  106. adc r11,r11, C000003F E2ABB1FF %% R11=R11+C000003F=C0000113=item index
  107. -------- EEEEC000 %% Becomes E18CC000 (orr r12, r12, r0)
  108. -filler- BFBFFF00
  109. strh r12, [r10, 34] E1CAC3B4 %% Store target halfword
  110. -filler- BFFF0000
  111. strh r11, [r10, D4] E1CABDB4 %% Store item
  112. -filler- FF000000
  113. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  114. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  115. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  116. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  117. -filler- BFBFFF00
  118. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  119. -filler- BFFF0000
  120. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  121. -filler- FF000000
  122. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  123. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  124. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  125. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  126.  
  127. Box names:
  128. Box 1: (f?UnoU…o) [one …]
  129. Box 2: (.PnjR?n ) [ends with space]
  130. Box 3: (EE♀GUm ) [ends with two spaces]
  131. Box 4: (EZ……o ) [two …; ends with three spaces]
  132. Box 5: (Q Qn'Ifm) [one space after Q; righty '; upper case i]
  133. Box 6: ("!n Fzz ) [lefty "; one space after n; ends with space]
  134. Box 7: (EE'IPm ) [righty '; upper case i; ends with two spaces]
  135. Box 8: (E'CPm ) [righty '; ends with three spaces]
  136. Box 9: (z♀loy…Qn) [lower case L; one …]
  137. Box 10: (♀QnFGEn ) [ends with space]
  138. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  139. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  140. Box 13: (qU?n…QRn) [one …]
  141. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  142. _______________________________
  143. For German and French versions:
  144. sbc r10,pc,DA00 E2CFACDA %% R10=PC-DA00-1=202A9EB
  145. movs r12, 38C E3B0CFE3 %% R12=38C
  146. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=2026A2A
  147. adc r12,r12, DE00 E2ACCCDE %% R12=R12+DE00=E18C
  148. -filler- BFBFFF00
  149. strh r12 [pc, 16] E1CFC1B6
  150. -filler- BFFF0000
  151. movs r11, D4 E3B0B0D4 %% R11=D4
  152. -filler- FF000000
  153. sbc r0,r11, CB E2CB00CB %% R0=R11-CB-1=8
  154. ldrh r12, [r10, 34] E1DAC3B4 %% Load target halfword
  155. adc r11,r11, C000003F E2ABB1FF %% R11=R11+C000003F=C0000113=item index
  156. -------- EEEEC000 %% Becomes E18CC000 (orr r12, r12, r0)
  157. -filler- BFBFFF00
  158. strh r12, [r10, 34] E1CAC3B4 %% Store target halfword
  159. -filler- BFFF0000
  160. strh r11, [r10, D4] E1CABDB4 %% Store item
  161. -filler- FF000000
  162. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  163. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  164. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  165. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  166. -filler- BFBFFF00
  167. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  168. -filler- BFFF0000
  169. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  170. -filler- FF000000
  171. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  172. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  173. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  174. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  175.  
  176. Box names:
  177. Box 1: (f?UnoU…o) [one …]
  178. Box 2: (.PnjR?n ) [ends with space]
  179. Box 3: (EE♀GUm ) [ends with two spaces]
  180. Box 4: (EZ……o ) [two …; ends with three spaces]
  181. Box 5: (Q Qn'Ifm) [one space after Q; righty '; upper case i]
  182. Box 6: ("!n Fzz ) [lefty "; one space after n; ends with space]
  183. Box 7: (EE'IPm ) [righty '; upper case i; ends with two spaces]
  184. Box 8: (E'CPm ) [righty '; ends with three spaces]
  185. Box 9: (z♀loy…Qn) [lower case L; one …]
  186. Box 10: (♀QnFGEn ) [ends with space]
  187. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  188. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  189. Box 13: (zU?n…QRn) [one …]
  190. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  191. ____________________________
  192. For Japanese versions:
  193. mov r1,pc 4679 %% R1=PC+4=2038104
  194. ldr r0 pc+2C 480B %% R0=11948
  195. sub r1,r1,r0 1A09 %% R1=R1-R0=20267BC=first halfword location
  196. mov r0,8 2008 %% R0=8
  197. -filler- 00FF
  198. ldrh r2,[r1] 880A %% Load target halfword in R2
  199. orr r2,r2,r0 4302 %% R2=R2orR0=new halfword
  200. b pc,4 E000 %% Skip bad filler
  201. -bad filler- FF00
  202. strh r2,[r1] 800A %% Store back new halfword
  203. ldr r0 pc+C 4803 %% R0=80111B6
  204. ldr r0 pc+20 4808 %% R0=113=item index
  205. add r1,r1,A0 31A0 %% R1=R1+A0=second halfword location
  206. -filler- 00FF
  207. strh r0,[r1] 8008 %% Store item index
  208. ldr r0 pc+8 4802 %% R0=80111B6
  209. b pc,4 E000 %% Skip bad filler
  210. -filler- FF00
  211. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  212. bx r0 4700
  213. -data- 11B6
  214. -data- 0801
  215. -filler- 00FF
  216. -filler- 0000
  217. -data- 1948
  218. -data- 0001
  219. -filler- FF00
  220. -filler- 0000
  221. -data- 0113
  222. -data- 0000
  223.  
  224. Box names:
  225. Box 1: (ルばさぶけはくみ)
  226. Box 2: ( こギいづ l ) [starts with space; い not ぃ; one space after づ; lower case L; ends with space]
  227. Box 3: (こィうぶくぶッぅ) [ィ not イ; う not ぅ; ッ not ツ; ぅ not う]
  228. Box 4: ( くィいぶ l ) [starts with space; ィ not イ; い not ぃ; one space after ぶ; lower case L; ends with space]
  229. Box 5: (Fふ び♀ちあく) [one space after ふ; あ not ぁ]
  230. Box 6: ( ぶのあ ) [starts with three spaces; あ not ぁ; end with two spaces]
  231. Box 7: ( てあ ) [starts with two spaces; あ not ぁ; end with four spaces]
  232. Box 8 onwards: Anything
  233. _______________________________________________________________________________________________________________________________________
  234.  
  235.  
  236. -Teleport anywhere:
  237. Note: this code will teleport you anywhere you want. To do so you must know the ID number of the target map, which can be found here: https://pastebin.com/kmrbJY0S
  238. Instructions for non-Japanese users: the map id should be a four digit hexadecimal value, ♥♦♣♠. Now choose the right code depending on your game language and fill the variable characters as shown in the code, according to ♥, ♦, ♣ and ♠
  239. Instructions for Japanese users: the map id should be a four digit hexadecimal value, xxXX. Knowing xx and XX you can calculate four two-digit values: yy, YY, zz and ZZ. Calculate them in this simple way:
  240. IF xx=[00,B6] or [BA,EE] THEN zz=00,yy=xx
  241. IF xx=[B7,B9] THEN zz=xx-B6,yy=B6
  242. IF xx=[EF,FF] THEN zz=xx-EE,yy=EE
  243. IF XX=[00,B6] or [BA,EE] THEN ZZ=00,YY=XX
  244. IF XX=[B7,B9] THEN ZZ=XX-B6,YY=B6
  245. IF XX=[EF,FF] THEN ZZ=XX-EE,YY=EE
  246. Those four values represent the indexes of four variable characters: to find out the actual characters corresponding to those indexes use this table: https://bulbapedia.bulbagarden.net/wiki/Character_encoding_(Generation_III)#Japanese (character 00 is a space)
  247. _______________________________
  248. For English Ruby 1.0:
  249. sbc r10,pc,2E00 E2CFADB8 %% R10=PC-2E00-1=20255EB
  250. mov r12, C♠ E3B0C0C♠ %% R12=C♠
  251. sbc r10,r10,FF00 E2CAACFF %% R10=R10-FF00-1=20256EA
  252. adc r12,r12,C*0 E2ACCEC* %% R12=R12+C*0=°♣♠
  253. -filler- BFBFFF00
  254. adc r12,r12,C*00 E2ACCCC* %% R12=R12+C*00=°♦♣♠
  255. -filler- BFFF0000
  256. adc r12,r12,C*000 E2ACCAC* %% R12=R12+C*000=°♥♦♣♠=map id
  257. -filler- FF000000
  258. strh r12 [r10, 4E] E1CAC4BE %% Store map id
  259. -filler- 00000000
  260. -filler- BFBFBFFF
  261. -filler- BFBFBFBF
  262. -filler- BFBFFFBF
  263. -filler- BFBFBFBF
  264. -filler- BFFFBFBF
  265. -filler- BFBFBFBF
  266. -filler- FFBFBFBF
  267. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  268. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  269. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  270. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  271. -filler- BFBFFF00
  272. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  273. -filler- BFFF0000
  274. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  275. -filler- FF000000
  276. sbc r12,r12 A30 E2CCCEA3 %% R12=R12-A30-1=7FFF5CC
  277. sbc r12,r12, AA000 E2CCCAAA %% R12=R12-AA000-1=7F555CB
  278. adc r12,r12 FF000 E2ACCAFF %% R12=R12+FF000=80545CB
  279. sbc r0,r12, BD E2CC00BD %% R0=R12-BD-1=805450D=CB2_LoadMap2RENG_1.0
  280.  
  281. Box names:
  282. Box 1: (,.Un*F…o) [one …]
  283. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  284.  
  285. Box 2: (?Pn*T?n ) [ends with space]
  286. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  287.  
  288. Box 3: (EE*R?n ) [ends with two spaces]
  289. if ♣=C,D,E,F, then
  290. ° = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  291. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  292. ° = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  293.  
  294. Box 4: (E*P?n ) [ends with three spaces]
  295. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  296. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  297. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  298. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  299.  
  300. Box 5: (DJPm ) [ends with four spaces
  301. Box 6: (EEEEEEEE)
  302. Box 7: (EEEEEEEE)
  303. Box 8: (EEEEEEEE)
  304. Box 9: (z♀loy…Qn) [lower case L; one …]
  305. Box 10: (♀QnFGEn ) [ends with space]
  306. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  307. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  308. Box 13: (2TRn9PRn)
  309. Box 14: (P?nC Rn ) [one space after C; ends with space]
  310. _______________________________
  311. For English Ruby 1.1 and 1.2:
  312. sbc r10,pc,2E00 E2CFADB8 %% R10=PC-2E00-1=20255EB
  313. mov r12, C♠ E3B0C0C♠ %% R12=C♠
  314. sbc r10,r10,FF00 E2CAACFF %% R10=R10-FF00-1=20256EA
  315. adc r12,r12,C*0 E2ACCEC* %% R12=R12+C*0=°♣♠
  316. -filler- BFBFFF00
  317. adc r12,r12,C*00 E2ACCCC* %% R12=R12+C*00=°♦♣♠
  318. -filler- BFFF0000
  319. adc r12,r12,C*000 E2ACCAC* %% R12=R12+C*000=°♥♦♣♠=map id
  320. -filler- FF000000
  321. strh r12 [r10, 4E] E1CAC4BE %% Store map id
  322. -filler- 00000000
  323. -filler- BFBFBFFF
  324. -filler- BFBFBFBF
  325. -filler- BFBFFFBF
  326. -filler- BFBFBFBF
  327. -filler- BFFFBFBF
  328. -filler- BFBFBFBF
  329. -filler- FFBFBFBF
  330. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  331. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  332. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  333. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  334. -filler- BFBFFF00
  335. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  336. -filler- BFFF0000
  337. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  338. -filler- FF000000
  339. sbc r12,r12 A10 E2CCCEA1 %% R12=R12-A10-1=7FFF5EC
  340. sbc r12,r12, AA000 E2CCCAAA %% R12=R12-AA000-1=7F555EB
  341. adc r12,r12 FF000 E2ACCAFF %% R12=R12+FF000=80545EB
  342. sbc r0,r12, BD E2CC00BD %% R0=R12-BD-1=805452D=CB2_LoadMap2RENG_1.1,1.2
  343.  
  344. Box names:
  345. Box 1: (,.Un*F…o) [one …]
  346. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  347.  
  348. Box 2: (?Pn*T?n ) [ends with space]
  349. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  350.  
  351. Box 3: (EE*R?n ) [ends with two spaces]
  352. if ♣=C,D,E,F, then
  353. ° = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  354. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  355. ° = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  356.  
  357. Box 4: (E*P?n ) [ends with three spaces]
  358. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  359. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  360. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  361. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  362.  
  363. Box 5: (DJPm ) [ends with four spaces
  364. Box 6: (EEEEEEEE)
  365. Box 7: (EEEEEEEE)
  366. Box 8: (EEEEEEEE)
  367. Box 9: (z♀loy…Qn) [lower case L; one …]
  368. Box 10: (♀QnFGEn ) [ends with space]
  369. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  370. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  371. Box 13: (0TRn9PRn) [zero]
  372. Box 14: (P?nC Rn ) [one space after C; ends with space]
  373. _______________________________
  374. For English Sapphire 1.0:
  375. sbc r10,pc,2E00 E2CFADB8 %% R10=PC-2E00-1=20255EB
  376. mov r12, C♠ E3B0C0C♠ %% R12=C♠
  377. sbc r10,r10,FF00 E2CAACFF %% R10=R10-FF00-1=20256EA
  378. adc r12,r12,C*0 E2ACCEC* %% R12=R12+C*0=°♣♠
  379. -filler- BFBFFF00
  380. adc r12,r12,C*00 E2ACCCC* %% R12=R12+C*00=°♦♣♠
  381. -filler- BFFF0000
  382. adc r12,r12,C*000 E2ACCAC* %% R12=R12+C*000=°♥♦♣♠=map id
  383. -filler- FF000000
  384. strh r12 [r10, 4E] E1CAC4BE %% Store map id
  385. -filler- 00000000
  386. -filler- BFBFBFFF
  387. -filler- BFBFBFBF
  388. -filler- BFBFFFBF
  389. -filler- BFBFBFBF
  390. -filler- BFFFBFBF
  391. -filler- BFBFBFBF
  392. -filler- FFBFBFBF
  393. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  394. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  395. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  396. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  397. -filler- BFBFFF00
  398. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  399. -filler- BFFF0000
  400. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  401. -filler- FF000000
  402. sbc r12,r12 A20 E2CCCEA2 %% R12=R12-A20-1=7FFF5DC
  403. sbc r12,r12, AA000 E2CCCAAA %% R12=R12-AA000-1=7F555DB
  404. adc r12,r12 FF000 E2ACCAFF %% R12=R12+FF000=80545DB
  405. sbc r0,r12, C9 E2CC00C9 %% R0=R12-C9-1=8054511=CB2_LoadMap2SENG_1.0
  406.  
  407. Box names:
  408. Box 1: (,.Un*F…o) [one …]
  409. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  410.  
  411. Box 2: (?Pn*T?n ) [ends with space]
  412. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  413.  
  414. Box 3: (EE*R?n ) [ends with two spaces]
  415. if ♣=C,D,E,F, then
  416. ° = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  417. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  418. ° = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  419.  
  420. Box 4: (E*P?n ) [ends with three spaces]
  421. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  422. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  423. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  424. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  425.  
  426. Box 5: (DJPm ) [ends with four spaces
  427. Box 6: (EEEEEEEE)
  428. Box 7: (EEEEEEEE)
  429. Box 8: (EEEEEEEE)
  430. Box 9: (z♀loy…Qn) [lower case L; one …]
  431. Box 10: (♀QnFGEn ) [ends with space]
  432. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  433. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  434. Box 13: (1TRn9PRn) [number one]
  435. Box 14: (P?nO Rn ) [upper case o; one space after O; ends with space]
  436. _______________________________
  437. For English Sapphire 1.1 and 1.2:
  438. sbc r10,pc,2E00 E2CFADB8 %% R10=PC-2E00-1=20255EB
  439. mov r12, C♠ E3B0C0C♠ %% R12=C♠
  440. sbc r10,r10,FF00 E2CAACFF %% R10=R10-FF00-1=20256EA
  441. adc r12,r12,C*0 E2ACCEC* %% R12=R12+C*0=°♣♠
  442. -filler- BFBFFF00
  443. adc r12,r12,C*00 E2ACCCC* %% R12=R12+C*00=°♦♣♠
  444. -filler- BFFF0000
  445. adc r12,r12,C*000 E2ACCAC* %% R12=R12+C*000=°♥♦♣♠=map id
  446. -filler- FF000000
  447. strh r12 [r10, 4E] E1CAC4BE %% Store map id
  448. -filler- 00000000
  449. -filler- BFBFBFFF
  450. -filler- BFBFBFBF
  451. -filler- BFBFFFBF
  452. -filler- BFBFBFBF
  453. -filler- BFFFBFBF
  454. -filler- BFBFBFBF
  455. -filler- FFBFBFBF
  456. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  457. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  458. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  459. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  460. -filler- BFBFFF00
  461. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  462. -filler- BFFF0000
  463. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  464. -filler- FF000000
  465. sbc r12,r12 A20 E2CCCEA2 %% R12=R12-A20-1=7FFF5DC
  466. sbc r12,r12, AA000 E2CCCAAA %% R12=R12-AA000-1=7F555DB
  467. adc r12,r12 FF000 E2ACCAFF %% R12=R12+FF000=80545DB
  468. sbc r0,r12, A9 E2CC00A9 %% R0=R12-A9-1=8054531=CB2_LoadMap2SENG_1.1,1.2
  469.  
  470. Box names:
  471. Box 1: (,.Un*F…o) [one …]
  472. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  473.  
  474. Box 2: (?Pn*T?n ) [ends with space]
  475. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  476.  
  477. Box 3: (EE*R?n ) [ends with two spaces]
  478. if ♣=C,D,E,F, then
  479. ° = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  480. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  481. ° = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  482.  
  483. Box 4: (E*P?n ) [ends with three spaces]
  484. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  485. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  486. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  487. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  488.  
  489. Box 5: (DJPm ) [ends with four spaces
  490. Box 6: (EEEEEEEE)
  491. Box 7: (EEEEEEEE)
  492. Box 8: (EEEEEEEE)
  493. Box 9: (z♀loy…Qn) [lower case L; one …]
  494. Box 10: (♀QnFGEn ) [ends with space]
  495. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  496. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  497. Box 13: (1TRn9PRn) [number one]
  498. Box 14: (P?n8 Rn ) [one space after 8; ends with space]
  499. _______________________________
  500. For Italian Ruby:
  501. sbc r10,pc,2E00 E2CFADB8 %% R10=PC-2E00-1=20255EB
  502. mov r12, C♠ E3B0C0C♠ %% R12=C♠
  503. sbc r10,r10,FF00 E2CAACFF %% R10=R10-FF00-1=20256EA
  504. adc r12,r12,C*0 E2ACCEC* %% R12=R12+C*0=°♣♠
  505. -filler- BFBFFF00
  506. adc r12,r12,C*00 E2ACCCC* %% R12=R12+C*00=°♦♣♠
  507. -filler- BFFF0000
  508. adc r12,r12,C*000 E2ACCAC* %% R12=R12+C*000=°♥♦♣♠=map id
  509. -filler- FF000000
  510. strh r12 [r10, 4E] E1CAC4BE %% Store map id
  511. -filler- 00000000
  512. -filler- BFBFBFFF
  513. -filler- BFBFBFBF
  514. -filler- BFBFFFBF
  515. -filler- BFBFBFBF
  516. -filler- BFFFBFBF
  517. -filler- BFBFBFBF
  518. -filler- FFBFBFBF
  519. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  520. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  521. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  522. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  523. -filler- BFBFFF00
  524. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  525. -filler- BFFF0000
  526. movs r12, 8000003 E3B0C3C2 %% R12=8000003
  527. -filler- FF000000
  528. adc r12,r12 3940 E2ACCDE5 %% R12=R12+3940=8003943
  529. sbc r12,r12, AE000 E2CCCAAE %% R12=R12-AE000-1=7F55942
  530. adc r12,r12 FF000 E2ACCAFF %% R12=R12+FF000=8054942
  531. sbc r0,r12, E0 E2CC00E0 %% R0=R12-E0-1=8054861=CB2_LoadMap2RITA
  532.  
  533. Box names:
  534. Box 1: (,.Un*F…o) [one …]
  535. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  536.  
  537. Box 2: (?Pn*T?n ) [ends with space]
  538. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  539.  
  540. Box 3: (EE*R?n ) [ends with two spaces]
  541. if ♣=C,D,E,F, then
  542. ° = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  543. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  544. ° = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  545.  
  546. Box 4: (E*P?n ) [ends with three spaces]
  547. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  548. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  549. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  550. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  551.  
  552. Box 5: (DJPm ) [ends with four spaces
  553. Box 6: (EEEEEEEE)
  554. Box 7: (EEEEEEEE)
  555. Box 8: (EEEEEEEE)
  556. Box 9: (z♀loy…Qn) [lower case L; one …]
  557. Box 10: (♀QnFGEn ) [ends with space]
  558. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  559. Box 12: (EHI…o ) [upper case i; one …; ends with three spaces]
  560. Box 13: (qS?n-PRn)
  561. Box 14: (P?nl Rn ) [lower case L; one space after l; ends with space]
  562. _______________________________
  563. For Italian Sapphire:
  564. sbc r10,pc,2E00 E2CFADB8 %% R10=PC-2E00-1=20255EB
  565. mov r12, C♠ E3B0C0C♠ %% R12=C♠
  566. sbc r10,r10,FF00 E2CAACFF %% R10=R10-FF00-1=20256EA
  567. adc r12,r12,C*0 E2ACCEC* %% R12=R12+C*0=°♣♠
  568. -filler- BFBFFF00
  569. adc r12,r12,C*00 E2ACCCC* %% R12=R12+C*00=°♦♣♠
  570. -filler- BFFF0000
  571. adc r12,r12,C*000 E2ACCAC* %% R12=R12+C*000=°♥♦♣♠=map id
  572. -filler- FF000000
  573. strh r12 [r10, 4E] E1CAC4BE %% Store map id
  574. -filler- 00000000
  575. -filler- BFBFBFFF
  576. -filler- BFBFBFBF
  577. -filler- BFBFFFBF
  578. -filler- BFBFBFBF
  579. -filler- BFFFBFBF
  580. -filler- BFBFBFBF
  581. -filler- FFBFBFBF
  582. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  583. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  584. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  585. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  586. -filler- BFBFFF00
  587. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  588. -filler- BFFF0000
  589. movs r12, 8000003 E3B0C3C2 %% R12=8000003
  590. -filler- FF000000
  591. adc r12,r12 3940 E2ACCDE5 %% R12=R12+3940=8003943
  592. sbc r12,r12, AE000 E2CCCAAE %% R12=R12-AE000-1=7F55942
  593. adc r12,r12 FF000 E2ACCAFF %% R12=R12+FF000=8054942
  594. sbc r0,r12, DC E2CC00DC %% R0=R12-DC-1=8054865=CB2_LoadMap2SITA
  595.  
  596. Box names:
  597. Box 1: (,.Un*F…o) [one …]
  598. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  599.  
  600. Box 2: (?Pn*T?n ) [ends with space]
  601. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  602.  
  603. Box 3: (EE*R?n ) [ends with two spaces]
  604. if ♣=C,D,E,F, then
  605. ° = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  606. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  607. ° = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  608.  
  609. Box 4: (E*P?n ) [ends with three spaces]
  610. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  611. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  612. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  613. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  614.  
  615. Box 5: (DJPm ) [ends with four spaces
  616. Box 6: (EEEEEEEE)
  617. Box 7: (EEEEEEEE)
  618. Box 8: (EEEEEEEE)
  619. Box 9: (z♀loy…Qn) [lower case L; one …]
  620. Box 10: (♀QnFGEn ) [ends with space]
  621. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  622. Box 12: (EHI…o ) [upper case i; one …; ends with three spaces]
  623. Box 13: (qS?n-PRn)
  624. Box 14: (P?nh Rn ) [one space after h; ends with space]
  625. _______________________________
  626. For German Ruby:
  627. sbc r10,pc,2E00 E2CFADB8 %% R10=PC-2E00-1=20255EB
  628. mov r12, C♠ E3B0C0C♠ %% R12=C♠
  629. sbc r10,r10,FF00 E2CAACFF %% R10=R10-FF00-1=20256EA
  630. adc r12,r12,C*0 E2ACCEC* %% R12=R12+C*0=°♣♠
  631. -filler- BFBFFF00
  632. adc r12,r12,C*00 E2ACCCC* %% R12=R12+C*00=°♦♣♠
  633. -filler- BFFF0000
  634. adc r12,r12,C*000 E2ACCAC* %% R12=R12+C*000=°♥♦♣♠=map id
  635. -filler- FF000000
  636. strh r12 [r10, 4E] E1CAC4BE %% Store map id
  637. -filler- 00000000
  638. -filler- BFBFBFFF
  639. -filler- BFBFBFBF
  640. -filler- BFBFFFBF
  641. -filler- BFBFBFBF
  642. -filler- BFFFBFBF
  643. -filler- BFBFBFBF
  644. -filler- FFBFBFBF
  645. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  646. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  647. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  648. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  649. -filler- BFBFFF00
  650. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  651. -filler- BFFF0000
  652. movs r12, 8000003 E3B0C3C2 %% R12=8000003
  653. -filler- FF000000
  654. adc r12,r12 3900 E2ACCDE4 %% R12=R12+3900=8003903
  655. sbc r12,r12, AE000 E2CCCAAE %% R12=R12-AE000-1=7F55902
  656. adc r12,r12 FF000 E2ACCAFF %% R12=R12+FF000=8054902
  657. sbc r0,r12, B4 E2CC00B4 %% R0=R12-B4-1=805484D=CB2_LoadMap2RGER
  658.  
  659. Box names:
  660. Box 1: (,.Un*F…o) [one …]
  661. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  662.  
  663. Box 2: (?Pn*T?n ) [ends with space]
  664. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  665.  
  666. Box 3: (EE*R?n ) [ends with two spaces]
  667. if ♣=C,D,E,F, then
  668. ° = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  669. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  670. ° = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  671.  
  672. Box 4: (E*P?n ) [ends with three spaces]
  673. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  674. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  675. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  676. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  677.  
  678. Box 5: (DJPm ) [ends with four spaces
  679. Box 6: (EEEEEEEE)
  680. Box 7: (EEEEEEEE)
  681. Box 8: (EEEEEEEE)
  682. Box 9: (z♀loy…Qn) [lower case L; one …]
  683. Box 10: (♀QnFGEn ) [ends with space]
  684. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  685. Box 12: (EHI…o ) [upper case i; one …; ends with three spaces]
  686. Box 13: (pS?n-PRn)
  687. Box 14: (P?n' Rn ) [righty '; one space after '; ends with space]
  688. _______________________________
  689. For German Sapphire:
  690. sbc r10,pc,2E00 E2CFADB8 %% R10=PC-2E00-1=20255EB
  691. mov r12, C♠ E3B0C0C♠ %% R12=C♠
  692. sbc r10,r10,FF00 E2CAACFF %% R10=R10-FF00-1=20256EA
  693. adc r12,r12,C*0 E2ACCEC* %% R12=R12+C*0=°♣♠
  694. -filler- BFBFFF00
  695. adc r12,r12,C*00 E2ACCCC* %% R12=R12+C*00=°♦♣♠
  696. -filler- BFFF0000
  697. adc r12,r12,C*000 E2ACCAC* %% R12=R12+C*000=°♥♦♣♠=map id
  698. -filler- FF000000
  699. strh r12 [r10, 4E] E1CAC4BE %% Store map id
  700. -filler- 00000000
  701. -filler- BFBFBFFF
  702. -filler- BFBFBFBF
  703. -filler- BFBFFFBF
  704. -filler- BFBFBFBF
  705. -filler- BFFFBFBF
  706. -filler- BFBFBFBF
  707. -filler- FFBFBFBF
  708. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  709. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  710. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  711. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  712. -filler- BFBFFF00
  713. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  714. -filler- BFFF0000
  715. movs r12, 8000003 E3B0C3C2 %% R12=8000003
  716. -filler- FF000000
  717. adc r12,r12 3900 E2ACCDE4 %% R12=R12+3900=8003903
  718. sbc r12,r12, AE000 E2CCCAAE %% R12=R12-AE000-1=7F55902
  719. adc r12,r12 FF000 E2ACCAFF %% R12=R12+FF000=8054902
  720. sbc r0,r12, B0 E2CC00B0 %% R0=R12-B0-1=8054851=CB2_LoadMap2SGER
  721.  
  722. Box names:
  723. Box 1: (,.Un*F…o) [one …]
  724. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  725.  
  726. Box 2: (?Pn*T?n ) [ends with space]
  727. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  728.  
  729. Box 3: (EE*R?n ) [ends with two spaces]
  730. if ♣=C,D,E,F, then
  731. ° = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  732. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  733. ° = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  734.  
  735. Box 4: (E*P?n ) [ends with three spaces]
  736. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  737. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  738. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  739. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  740.  
  741. Box 5: (DJPm ) [ends with four spaces
  742. Box 6: (EEEEEEEE)
  743. Box 7: (EEEEEEEE)
  744. Box 8: (EEEEEEEE)
  745. Box 9: (z♀loy…Qn) [lower case L; one …]
  746. Box 10: (♀QnFGEn ) [ends with space]
  747. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  748. Box 12: (EHI…o ) [upper case i; one …; ends with three spaces]
  749. Box 13: (pS?n-PRn)
  750. Box 14: (P?n… Rn ) [one …; one space after …; ends with space]
  751. _______________________________
  752. For Spanish Ruby:
  753. sbc r10,pc,2E00 E2CFADB8 %% R10=PC-2E00-1=20255EB
  754. mov r12, C♠ E3B0C0C♠ %% R12=C♠
  755. sbc r10,r10,FF00 E2CAACFF %% R10=R10-FF00-1=20256EA
  756. adc r12,r12,C*0 E2ACCEC* %% R12=R12+C*0=°♣♠
  757. -filler- BFBFFF00
  758. adc r12,r12,C*00 E2ACCCC* %% R12=R12+C*00=°♦♣♠
  759. -filler- BFFF0000
  760. adc r12,r12,C*000 E2ACCAC* %% R12=R12+C*000=°♥♦♣♠=map id
  761. -filler- FF000000
  762. strh r12 [r10, 4E] E1CAC4BE %% Store map id
  763. -filler- 00000000
  764. -filler- BFBFBFFF
  765. -filler- BFBFBFBF
  766. -filler- BFBFFFBF
  767. -filler- BFBFBFBF
  768. -filler- BFFFBFBF
  769. -filler- BFBFBFBF
  770. -filler- FFBFBFBF
  771. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  772. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  773. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  774. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  775. -filler- BFBFFF00
  776. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  777. -filler- BFFF0000
  778. movs r12, 8000003 E3B0C3C2 %% R12=8000003
  779. -filler- FF000000
  780. adc r12,r12 3A00 E2ACCDE8 %% R12=R12+3A00=8003A03
  781. sbc r12,r12, AE000 E2CCCAAE %% R12=R12-AE000-1=7F55A02
  782. adc r12,r12 FF000 E2ACCAFF %% R12=R12+FF000=8054A02
  783. sbc r0,r12, B8 E2CC00B8 %% R0=R12-B8-1=8054949=CB2_LoadMap2RSPA
  784.  
  785. Box names:
  786. Box 1: (,.Un*F…o) [one …]
  787. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  788.  
  789. Box 2: (?Pn*T?n ) [ends with space]
  790. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  791.  
  792. Box 3: (EE*R?n ) [ends with two spaces]
  793. if ♣=C,D,E,F, then
  794. ° = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  795. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  796. ° = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  797.  
  798. Box 4: (E*P?n ) [ends with three spaces]
  799. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  800. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  801. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  802. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  803.  
  804. Box 5: (DJPm ) [ends with four spaces
  805. Box 6: (EEEEEEEE)
  806. Box 7: (EEEEEEEE)
  807. Box 8: (EEEEEEEE)
  808. Box 9: (z♀loy…Qn) [lower case L; one …]
  809. Box 10: (♀QnFGEn ) [ends with space]
  810. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  811. Box 12: (EHI…o ) [upper case i; one …; ends with three spaces]
  812. Box 13: (tS?n-PRn)
  813. Box 14: (P?n, Rn ) [one space after ,; ends with space]
  814. _______________________________
  815. For Spanish Sapphire:
  816. sbc r10,pc,2E00 E2CFADB8 %% R10=PC-2E00-1=20255EB
  817. mov r12, C♠ E3B0C0C♠ %% R12=C♠
  818. sbc r10,r10,FF00 E2CAACFF %% R10=R10-FF00-1=20256EA
  819. adc r12,r12,C*0 E2ACCEC* %% R12=R12+C*0=°♣♠
  820. -filler- BFBFFF00
  821. adc r12,r12,C*00 E2ACCCC* %% R12=R12+C*00=°♦♣♠
  822. -filler- BFFF0000
  823. adc r12,r12,C*000 E2ACCAC* %% R12=R12+C*000=°♥♦♣♠=map id
  824. -filler- FF000000
  825. strh r12 [r10, 4E] E1CAC4BE %% Store map id
  826. -filler- 00000000
  827. -filler- BFBFBFFF
  828. -filler- BFBFBFBF
  829. -filler- BFBFFFBF
  830. -filler- BFBFBFBF
  831. -filler- BFFFBFBF
  832. -filler- BFBFBFBF
  833. -filler- FFBFBFBF
  834. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  835. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  836. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  837. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  838. -filler- BFBFFF00
  839. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  840. -filler- BFFF0000
  841. movs r12, 8000003 E3B0C3C2 %% R12=8000003
  842. -filler- FF000000
  843. adc r12,r12 3A00 E2ACCDE8 %% R12=R12+3A00=8003A03
  844. sbc r12,r12, AE000 E2CCCAAE %% R12=R12-AE000-1=7F55A02
  845. adc r12,r12 FF000 E2ACCAFF %% R12=R12+FF000=8054A02
  846. sbc r0,r12, B4 E2CC00B4 %% R0=R12-B4-1=805494D=CB2_LoadMap2SSPA
  847.  
  848. Box names:
  849. Box 1: (,.Un*F…o) [one …]
  850. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  851.  
  852. Box 2: (?Pn*T?n ) [ends with space]
  853. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  854.  
  855. Box 3: (EE*R?n ) [ends with two spaces]
  856. if ♣=C,D,E,F, then
  857. ° = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  858. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  859. ° = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  860.  
  861. Box 4: (E*P?n ) [ends with three spaces]
  862. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  863. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  864. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  865. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  866.  
  867. Box 5: (DJPm ) [ends with four spaces
  868. Box 6: (EEEEEEEE)
  869. Box 7: (EEEEEEEE)
  870. Box 8: (EEEEEEEE)
  871. Box 9: (z♀loy…Qn) [lower case L; one …]
  872. Box 10: (♀QnFGEn ) [ends with space]
  873. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  874. Box 12: (EHI…o ) [upper case i; one …; ends with three spaces]
  875. Box 13: (tS?n-PRn)
  876. Box 14: (P?n' Rn ) [righty '; one space after '; ends with space]
  877. _______________________________
  878. For French Ruby:
  879. sbc r10,pc,2E00 E2CFADB8 %% R10=PC-2E00-1=20255EB
  880. mov r12, C♠ E3B0C0C♠ %% R12=C♠
  881. sbc r10,r10,FF00 E2CAACFF %% R10=R10-FF00-1=20256EA
  882. adc r12,r12,C*0 E2ACCEC* %% R12=R12+C*0=°♣♠
  883. -filler- BFBFFF00
  884. adc r12,r12,C*00 E2ACCCC* %% R12=R12+C*00=°♦♣♠
  885. -filler- BFFF0000
  886. adc r12,r12,C*000 E2ACCAC* %% R12=R12+C*000=°♥♦♣♠=map id
  887. -filler- FF000000
  888. strh r12 [r10, 4E] E1CAC4BE %% Store map id
  889. -filler- 00000000
  890. -filler- BFBFBFFF
  891. -filler- BFBFBFBF
  892. -filler- BFBFFFBF
  893. -filler- BFBFBFBF
  894. -filler- BFFFBFBF
  895. -filler- BFBFBFBF
  896. -filler- FFBFBFBF
  897. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  898. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  899. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  900. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  901. -filler- BFBFFF00
  902. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  903. -filler- BFFF0000
  904. movs r12, 8000003 E3B0C3C2 %% R12=8000003
  905. -filler- FF000000
  906. adc r12,r12 3A00 E2ACCDE8 %% R12=R12+3A00=8003A03
  907. sbc r12,r12, AE000 E2CCCAAE %% R12=R12-AE000-1=7F55A02
  908. adc r12,r12 FF000 E2ACCAFF %% R12=R12+FF000=8054A02
  909. sbc r0,r12, C8 E2CC00C8 %% R0=R12-C8-1=8054939=CB2_LoadMap2RFRA
  910.  
  911. Box names:
  912. Box 1: (,.Un*F…o) [one …]
  913. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  914.  
  915. Box 2: (?Pn*T?n ) [ends with space]
  916. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  917.  
  918. Box 3: (EE*R?n ) [ends with two spaces]
  919. if ♣=C,D,E,F, then
  920. ° = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  921. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  922. ° = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  923.  
  924. Box 4: (E*P?n ) [ends with three spaces]
  925. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  926. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  927. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  928. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  929.  
  930. Box 5: (DJPm ) [ends with four spaces
  931. Box 6: (EEEEEEEE)
  932. Box 7: (EEEEEEEE)
  933. Box 8: (EEEEEEEE)
  934. Box 9: (z♀loy…Qn) [lower case L; one …]
  935. Box 10: (♀QnFGEn ) [ends with space]
  936. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  937. Box 12: (EHI…o ) [upper case i; one …; ends with three spaces]
  938. Box 13: (tS?n-PRn)
  939. Box 14: (P?nN Rn ) [one space after N; ends with space]
  940. _______________________________
  941. For French Sapphire:
  942. sbc r10,pc,2E00 E2CFADB8 %% R10=PC-2E00-1=20255EB
  943. mov r12, C♠ E3B0C0C♠ %% R12=C♠
  944. sbc r10,r10,FF00 E2CAACFF %% R10=R10-FF00-1=20256EA
  945. adc r12,r12,C*0 E2ACCEC* %% R12=R12+C*0=°♣♠
  946. -filler- BFBFFF00
  947. adc r12,r12,C*00 E2ACCCC* %% R12=R12+C*00=°♦♣♠
  948. -filler- BFFF0000
  949. adc r12,r12,C*000 E2ACCAC* %% R12=R12+C*000=°♥♦♣♠=map id
  950. -filler- FF000000
  951. strh r12 [r10, 4E] E1CAC4BE %% Store map id
  952. -filler- 00000000
  953. -filler- BFBFBFFF
  954. -filler- BFBFBFBF
  955. -filler- BFBFFFBF
  956. -filler- BFBFBFBF
  957. -filler- BFFFBFBF
  958. -filler- BFBFBFBF
  959. -filler- FFBFBFBF
  960. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  961. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  962. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  963. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  964. -filler- BFBFFF00
  965. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  966. -filler- BFFF0000
  967. movs r12, 8000003 E3B0C3C2 %% R12=8000003
  968. -filler- FF000000
  969. adc r12,r12 3A00 E2ACCDE8 %% R12=R12+3A00=8003A03
  970. sbc r12,r12, AE000 E2CCCAAE %% R12=R12-AE000-1=7F55A02
  971. adc r12,r12 FF000 E2ACCAFF %% R12=R12+FF000=8054A02
  972. sbc r0,r12, C4 E2CC00C4 %% R0=R12-C4-1=805493D=CB2_LoadMap2SFRA
  973.  
  974. Box names:
  975. Box 1: (,.Un*F…o) [one …]
  976. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  977.  
  978. Box 2: (?Pn*T?n ) [ends with space]
  979. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  980.  
  981. Box 3: (EE*R?n ) [ends with two spaces]
  982. if ♣=C,D,E,F, then
  983. ° = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  984. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  985. ° = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  986.  
  987. Box 4: (E*P?n ) [ends with three spaces]
  988. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  989. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  990. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  991. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  992.  
  993. Box 5: (DJPm ) [ends with four spaces
  994. Box 6: (EEEEEEEE)
  995. Box 7: (EEEEEEEE)
  996. Box 8: (EEEEEEEE)
  997. Box 9: (z♀loy…Qn) [lower case L; one …]
  998. Box 10: (♀QnFGEn ) [ends with space]
  999. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  1000. Box 12: (EHI…o ) [upper case i; one …; ends with three spaces]
  1001. Box 13: (tS?n-PRn)
  1002. Box 14: (P?nJ Rn ) [one space after J; ends with space]
  1003. _______________________________
  1004. For Japanese Ruby:
  1005. mov r1,pc 4679 %% R1=PC+4
  1006. ldr r0,pc+18 4806 %% R0=12C6C
  1007. sub r1,r1,r0 1A09 %% R1=R1-R0=map ID location
  1008. ldr r0,pc+?? 4804 %% R0=FFyyYY
  1009. -filler- 00FF
  1010. ldr r2,pc+10 4A05 %% R2=FF00zzZZ
  1011. add r0,r0,r2 1880 %% R0=R0+R2=FFyyYY+FF00zzZZ=FFFFxxXX=new map ID
  1012. b pc,4 E000 %% Skip bad filler
  1013. -bad filler- FF00
  1014. strh r0,[r1] 8008 %% Store new map ID
  1015. ldr r0 pc+C 4803 %% R0=8051781=CB2_LoadMap2RJAP
  1016. bx r0 4700
  1017. -data- yyYY
  1018. -data- 00FF
  1019. -data- 2C6C
  1020. -data- 0001
  1021. -data- zzZZ
  1022. -data- FF00
  1023. -data- 1781
  1024. -data- 0805
  1025.  
  1026. Box names:
  1027. Box 1: (ルばかぶけはえぶ)
  1028. Box 2: ( おぼィね l ) [starts with space; お not ぉ; ィ not イ; one space after ね; lower case L; ends with space]
  1029. Box 3: (くィうぶ び*°) [ィ not イ; う not ぅ; one space after ぶ]
  1030. index of *=YY; index of °=yy
  1031. Box 4: ( フわあ °§ ) [starts with space; あ not ぁ; one spaces after あ; ends with space]
  1032. index of °=ZZ; index of §=zz
  1033. Box 5: (ゥぬおく ) [ゥ not ウ; お not ぉ; ends with four spaces]
  1034. Box 6 onwards: Anything
  1035. _______________________________
  1036. For Japanese Sapphire:
  1037. mov r1,pc 4679 %% R1=PC+4
  1038. ldr r0,pc+18 4806 %% R0=12C6C
  1039. sub r1,r1,r0 1A09 %% R1=R1-R0=map ID location
  1040. ldr r0,pc+?? 4804 %% R0=FFyyYY
  1041. -filler- 00FF
  1042. ldr r2,pc+10 4A05 %% R2=FF00zzZZ
  1043. add r0,r0,r2 1880 %% R0=R0+R2=FFyyYY+FF00zzZZ=FFFFxxXX=new map ID
  1044. b pc,4 E000 %% Skip bad filler
  1045. -bad filler- FF00
  1046. strh r0,[r1] 8008 %% Store new map ID
  1047. ldr r0 pc+C 4803 %% R0=8051785=CB2_LoadMap2SJAP
  1048. bx r0 4700
  1049. -data- yyYY
  1050. -data- 00FF
  1051. -data- 2C6C
  1052. -data- 0001
  1053. -data- zzZZ
  1054. -data- FF00
  1055. -data- 1785
  1056. -data- 0805
  1057.  
  1058. Box names:
  1059. Box 1: (ルばかぶけはえぶ)
  1060. Box 2: ( おぼィね l ) [starts with space; お not ぉ; ィ not イ; one space after ね; lower case L; ends with space]
  1061. Box 3: (くィうぶ び*°) [ィ not イ; う not ぅ; one space after ぶ]
  1062. index of *=YY; index of °=yy
  1063. Box 4: ( フわあ °§ ) [starts with space; あ not ぁ; one spaces after あ; ends with space]
  1064. index of °=ZZ; index of §=zz
  1065. Box 5: (ュぬおく ) [ュ not ユ; お not ぉ; ends with four spaces]
  1066. Box 6 onwards: Anything
  1067. _______________________________________________________________________________________________________________________________________
  1068.  
  1069.  
  1070. -Change TID or SID:
  1071. General note: this is the new version of the codes to change TID or SID, which is much more compact then the previous. If you need the old version, you can find it here: https://pastebin.com/CcXJcNhB
  1072. If you're changing your TID, checking if the worked is really simple. If you're changing your SID, a good way to check is by trying to nickname that you caught before: with a different SID you will not be able to normally rename it
  1073. Instructions for non-Japanese users: choose your new TID/SID and convert it into hexadecimal, you should have a four digit value, ♥♦♣♠. Now choose the right code depending on your game language and fill the variable characters as shown in the code, according to ♥, ♦, ♣ and ♠
  1074. Instructions for Japanese users: choose your new TID/SID and convert it into hexadecimal, you should have a four digit value, xxXX. Knowing xx and XX you can calculate four two-digit values: yy, YY, zz and ZZ. Calculate them in this simple way:
  1075. IF xx=[00,B6] or [BA,EE] THEN zz=00,yy=xx
  1076. IF xx=[B7,B9] THEN zz=xx-B6,yy=B6
  1077. IF xx=[EF,FF] THEN zz=xx-EE,yy=EE
  1078. IF XX=[00,B6] or [BA,EE] THEN ZZ=00,YY=XX
  1079. IF XX=[B7,B9] THEN ZZ=XX-B6,YY=B6
  1080. IF XX=[EF,FF] THEN ZZ=XX-EE,YY=EE
  1081. Those four values represent the indexes of four variable characters: to find out the actual characters corresponding to those indexes use this table: https://bulbapedia.bulbagarden.net/wiki/Character_encoding_(Generation_III)#Japanese (character 00 is a space)
  1082. _______________________________
  1083. For English versions:
  1084. sbc r12,pc,3700 E2CFCDDC %% R12=PC-3700-1=2034CEB
  1085. mov r11, C♠ E3B0B0C♠ %% R11=C♠
  1086. sbc r12,r12,FF00 E2CCCCFF %% R12=R12-FF00-1=2024DEA
  1087. adc r11,r11,C*0 E2ABBEC* %% R11=R11+C*0=°♣♠
  1088. -filler- BFBFFF00
  1089. adc r11,r11,C*00 E2ABBCC* %% R11=R11+C*00=°♦♣♠
  1090. -filler- BFFF0000
  1091. adc r11,r11,C*000 E2ABBAC* %% R11=R11+C*000=°♥♦♣♠
  1092. -filler- FF000000
  1093. strh r11 [r12, C*] E1CCBCB* %% store new TID/SID in its location *=4 for TID; 6 for SID
  1094. -filler- 00000000
  1095. -filler- 0000BFFF
  1096. -filler- 00000000
  1097. -filler- 00BFFF00
  1098. -filler- 00000000
  1099. -filler- BFFF0000
  1100. -filler- 00000000
  1101. -filler- FF000000
  1102. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  1103. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  1104. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  1105. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  1106. -filler- BFBFFF00
  1107. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  1108. -filler- BFFF0000
  1109. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  1110. -filler- FF000000
  1111. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  1112. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  1113. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  1114. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldRENG_1.0
  1115.  
  1116. Box names:
  1117. Box 1: (hSUn*……o) [two …]
  1118. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  1119.  
  1120. Box 2: (RRn*D!n ) [ends with space]
  1121. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  1122.  
  1123. Box 3: (EE*B!n ) [ends with two spaces]
  1124. if ♣=C,D,E,F, then
  1125. * = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  1126. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  1127. * = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  1128.  
  1129. Box 4: (E*/!n ) [ends with three spaces]
  1130. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  1131. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  1132. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  1133. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  1134.  
  1135. Box 5: (*BRm ) [ends with four spaces] * = ' [righty '] for TID; ♀ for SID
  1136. Box 6: (E ) [ends with seven spaces]
  1137. Box 7: (E ) [ends with seven spaces]
  1138. Box 8: (E ) [ends with seven spaces]
  1139. Box 9: (z♀loy…Qn) [lower case L; one …]
  1140. Box 10: (♀QnFGEn ) [ends with space]
  1141. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  1142. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  1143. Box 13: (qU?n…QRn) [one …]
  1144. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  1145. _______________________________
  1146. For Italian and Spanish versions:
  1147. sbc r12,pc,3700 E2CFCDDC %% R12=PC-3700-1=2034CEB
  1148. mov r11, C♠ E3B0B0C♠ %% R11=C♠
  1149. sbc r12,r12,FF00 E2CCCCFF %% R12=R12-FF00-1=2024DEA
  1150. adc r11,r11,C*0 E2ABBEC* %% R11=R11+C*0=°♣♠
  1151. -filler- BFBFFF00
  1152. adc r11,r11,C*00 E2ABBCC* %% R11=R11+C*00=°♦♣♠
  1153. -filler- BFFF0000
  1154. adc r11,r11,C*000 E2ABBAC* %% R11=R11+C*000=°♥♦♣♠
  1155. -filler- FF000000
  1156. strh r11 [r12, C*] E1CCBCB* %% store new TID/SID in its location *=4 for TID ;6 for SID
  1157. -filler- 00000000
  1158. -filler- 0000BFFF
  1159. -filler- 00000000
  1160. -filler- 00BFFF00
  1161. -filler- 00000000
  1162. -filler- BFFF0000
  1163. -filler- 00000000
  1164. -filler- FF000000
  1165. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  1166. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  1167. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  1168. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  1169. -filler- BFBFFF00
  1170. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  1171. -filler- BFFF0000
  1172. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  1173. -filler- FF000000
  1174. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  1175. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  1176. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  1177. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  1178.  
  1179. Box names:
  1180. Box 1: (hSUn*……o) [two …]
  1181. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  1182.  
  1183. Box 2: (RRn*D!n ) [ends with space]
  1184. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  1185.  
  1186. Box 3: (EE*B!n ) [ends with two spaces]
  1187. if ♣=C,D,E,F, then
  1188. * = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  1189. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  1190. * = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  1191.  
  1192. Box 4: (E*/!n ) [ends with three spaces]
  1193. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  1194. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  1195. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  1196. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  1197.  
  1198. Box 5: (*BRm ) [ends with four spaces] * = ' [righty '] for TID; ♀ for SID
  1199. Box 6: (E ) [ends with seven spaces]
  1200. Box 7: (E ) [ends with seven spaces]
  1201. Box 8: (E ) [ends with seven spaces]
  1202. Box 9: (z♀loy…Qn) [lower case L; one …]
  1203. Box 10: (♀QnFGEn ) [ends with space]
  1204. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  1205. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  1206. Box 13: (qU?n…QRn) [one …]
  1207. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  1208. _______________________________
  1209. For German and French versions:
  1210. sbc r12,pc,3700 E2CFCDDC %% R12=PC-3700-1=2034CEB
  1211. mov r11, C♠ E3B0B0C♠ %% R11=C♠
  1212. sbc r12,r12,FF00 E2CCCCFF %% R12=R12-FF00-1=2024DEA
  1213. adc r11,r11,C*0 E2ABBEC* %% R11=R11+C*0=°♣♠
  1214. -filler- BFBFFF00
  1215. adc r11,r11,C*00 E2ABBCC* %% R11=R11+C*00=°♦♣♠
  1216. -filler- BFFF0000
  1217. adc r11,r11,C*000 E2ABBAC* %% R11=R11+C*000=°♥♦♣♠
  1218. -filler- FF000000
  1219. strh r11 [r12, C*] E1CCBCB* %% store new TID/SID in its location *=4 for TID ; 6 for SID
  1220. -filler- 00000000
  1221. -filler- 0000BFFF
  1222. -filler- 00000000
  1223. -filler- 00BFFF00
  1224. -filler- 00000000
  1225. -filler- BFFF0000
  1226. -filler- 00000000
  1227. -filler- FF000000
  1228. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  1229. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  1230. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  1231. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  1232. -filler- BFBFFF00
  1233. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  1234. -filler- BFFF0000
  1235. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  1236. -filler- FF000000
  1237. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  1238. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  1239. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  1240. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  1241.  
  1242. Box names:
  1243. Box 1: (hSUn*……o) [two …]
  1244. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  1245.  
  1246. Box 2: (RRn*D!n ) [ends with space]
  1247. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  1248.  
  1249. Box 3: (EE*B!n ) [ends with two spaces]
  1250. if ♣=C,D,E,F, then
  1251. * = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  1252. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  1253. * = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  1254.  
  1255. Box 4: (E*/!n ) [ends with three spaces]
  1256. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  1257. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  1258. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  1259. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  1260.  
  1261. Box 5: (*BRm ) [ends with four spaces] * = ' [righty '] for TID; ♀ for SID
  1262. Box 6: (E ) [ends with seven spaces]
  1263. Box 7: (E ) [ends with seven spaces]
  1264. Box 8: (E ) [ends with seven spaces]
  1265. Box 9: (z♀loy…Qn) [lower case L; one …]
  1266. Box 10: (♀QnFGEn ) [ends with space]
  1267. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  1268. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  1269. Box 13: (zU?n…QRn) [one …]
  1270. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  1271. _______________________________
  1272. For Japanese versions:
  1273. add r1,pc,10 A108 %% R1=PC+20+4=2038104
  1274. ldr r0,pc+18 4806 %% R0=134F*=2024C°°
  1275. sub r1,r1,r0 1A09 %% R1=R1-R0
  1276. ldr r0,pc+20 4808 %% R0=yyYY
  1277. -filler- 00FF
  1278. ldr r2,pc+10 4A05 %% R2=FF00zzZZ
  1279. add r0,r0,r2 1880 %% R0=R0+R2=yyYY+FF00zzZZ=FF00xxXX=new TID/SID
  1280. b pc,4 E000 %% Skip bad filler
  1281. -bad filler- FF00
  1282. strh r0,[r1] 8008 %% Store new TID/SID
  1283. ldr r0 pc+C 4803 %% R0=80111B6
  1284. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  1285. bx r0 4700
  1286. -filler- 00FF
  1287. -data- 351* * = 6 for TID; 4 for SID
  1288. -data- 0001
  1289. -data- zzZZ
  1290. -data- FF00
  1291. -data- 11B6
  1292. -data- 0801
  1293. -data- yyYY
  1294. -data- 0000
  1295.  
  1296. Box 1: (く0かぶけはくぶ) [zero]
  1297. Box 2: ( おぼィね l ) [starts with space; お not ぉ; ィ not イ; one space after ね; lower case L; ends with space]
  1298. Box 3: (くィうぶFふ び) [ィ not イ; う not ぅ; one space after ふ]
  1299. Box 4: ( *ゅあ °§ ) [starts with space; ゅ not ゆ; あ not ぁ; space after あ; ends with space]
  1300. * = に for TID; と for SID; index of °=ZZ; index of §=zz
  1301. Box 5: (♀ちあく*° ) [あ not ぁ; う not ぅ; ends with two spaces]
  1302. index of *=YY; index of °=yy
  1303. Box 6 onwards: Anything
  1304. _______________________________________________________________________________________________________________________________________
  1305.  
  1306.  
  1307. -Get any item:
  1308. Note: execute this code filling the variable characters as shown below, then go collect the item from the lottery lady in Lilycove Department Store
  1309. Instructions for non-Japanese users: choose the item you want and get its hexadecimal index: if you're aiming for a regular item you can check the index here: https://bulbapedia.bulbagarden.net/wiki/List_of_items_by_index_number_(Generation_III), if you're aiming for a glitch item then you already know its hex index. Said index should be a four digit value, ♥♦♣♠ (pad with zeros to the left if the index has less than four digits). Now choose the right code depending on your game language and fill the variable characters as shown in the code, according to ♥, ♦, ♣ and ♠
  1310. Instructions for Japanese users: choose the item you want and get its hexadecimal index: if you're aiming for a regular item you can check the index here: https://bulbapedia.bulbagarden.net/wiki/List_of_items_by_index_number_(Generation_III), if you're aiming for a glitch item then you already know its hex index. Said index should be a four digit value, xxXX (pad with zeros to the left if the index has less than four digits). Knowing xx and XX you can calculate four two-digit values: yy, YY, zz and ZZ. Calculate them in this simple way:
  1311. IF xx=[00,B6] or [BA,EE] THEN zz=00,yy=xx
  1312. IF xx=[B7,B9] THEN zz=xx-B6,yy=B6
  1313. IF xx=[EF,FF] THEN zz=xx-EE,yy=EE
  1314. IF XX=[00,B6] or [BA,EE] THEN ZZ=00,YY=XX
  1315. IF XX=[B7,B9] THEN ZZ=XX-B6,YY=B6
  1316. IF XX=[EF,FF] THEN ZZ=XX-EE,YY=EE
  1317. Those four values represent the indexes of four variable characters: to find out the actual characters corresponding to those indexes use this table: https://bulbapedia.bulbagarden.net/wiki/Character_encoding_(Generation_III)#Japanese (character 00 is a space)
  1318. _______________________________
  1319. For English versions:
  1320. sbc r12,pc,EE00 E2CFCCEE %% R12=PC-EE00-1=20295EB
  1321. sbc r12,r12,2B00 E2CCCDAC %% R12=R12-2B00-1=2026AEA
  1322. -filler- BFBFBFFF
  1323. mov r11, C♠ E3B0B0C♠ %% R11=C♠
  1324. -filler- BFBFFF00
  1325. adc r11,r11,C*0 E2ABBEC* %% R11=R11+C*0=°♣♠
  1326. -filler- BFFF0000
  1327. adc r11,r11,C*00 E2ABBCC* %% R11=R11+C*00=°♦♣♠
  1328. -filler- FF000000
  1329. adc r11,r11,C*000 E2ABBAC* %% R11=R11+C*000=°♥♦♣♠
  1330. strh r11 [r12, 14] E1CCB1B4 %% Store item index in its location
  1331. -filler- 0000BFFF
  1332. -filler- 00000000
  1333. -filler- 00BFFF00
  1334. -filler- 00000000
  1335. -filler- BFFF0000
  1336. -filler- 00000000
  1337. -filler- FF000000
  1338. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  1339. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  1340. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  1341. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  1342. -filler- BFBFFF00
  1343. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  1344. -filler- BFFF0000
  1345. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  1346. -filler- FF000000
  1347. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  1348. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  1349. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  1350. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  1351.  
  1352. Box names:
  1353. Box 1: (zRUn?SRn)
  1354. Box 2: (EEE*……n ) [two …; ends with space]
  1355. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  1356.  
  1357. Box 3: (EE*D!n ) [ends with two spaces]
  1358. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  1359.  
  1360. Box 4: (E*B!n ) [ends with three spaces]
  1361. if ♣=C,D,E,F, then
  1362. * = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  1363. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  1364. * = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  1365.  
  1366. Box 5: (*/!n'"Rm) [righty '; lefty "]
  1367. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  1368. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  1369. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  1370. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  1371.  
  1372. Box 6: (E ) [ends with seven spaces]
  1373. Box 7: (E ) [ends with seven spaces]
  1374. Box 8: (E ) [ends with seven spaces]
  1375. Box 9: (z♀loy…Qn) [lower case L; one …]
  1376. Box 10: (♀QnFGEn ) [ends with space]
  1377. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  1378. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  1379. Box 13: (qU?n…QRn) [one …]
  1380. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  1381. _______________________________
  1382. For Italian and Spanish versions:
  1383. sbc r12,pc,EE00 E2CFCCEE %% R12=PC-EE00-1=20295EB
  1384. sbc r12,r12,2B00 E2CCCDAC %% R12=R12-2B00-1=2026AEA
  1385. -filler- BFBFBFFF
  1386. mov r11, C♠ E3B0B0C♠ %% R11=C♠
  1387. -filler- BFBFFF00
  1388. adc r11,r11,C*0 E2ABBEC* %% R11=R11+C*0=°♣♠
  1389. -filler- BFFF0000
  1390. adc r11,r11,C*00 E2ABBCC* %% R11=R11+C*00=°♦♣♠
  1391. -filler- FF000000
  1392. adc r11,r11,C*000 E2ABBAC* %% R11=R11+C*000=°♥♦♣♠
  1393. strh r11 [r12, 14] E1CCB1B4 %% Store item index in its location
  1394. -filler- 0000BFFF
  1395. -filler- 00000000
  1396. -filler- 00BFFF00
  1397. -filler- 00000000
  1398. -filler- BFFF0000
  1399. -filler- 00000000
  1400. -filler- FF000000
  1401. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  1402. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  1403. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  1404. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  1405. -filler- BFBFFF00
  1406. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  1407. -filler- BFFF0000
  1408. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  1409. -filler- FF000000
  1410. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  1411. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  1412. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  1413. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  1414.  
  1415. Box names:
  1416. Box 1: (zRUn?SRn)
  1417. Box 2: (EEE*……n ) [two …; ends with space]
  1418. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  1419.  
  1420. Box 3: (EE*D!n ) [ends with two spaces]
  1421. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  1422.  
  1423. Box 4: (E*B!n ) [ends with three spaces]
  1424. if ♣=C,D,E,F, then
  1425. * = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  1426. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  1427. * = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  1428.  
  1429. Box 5: (*/!n'"Rm) [righty '; lefty "]
  1430. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  1431. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  1432. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  1433. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  1434.  
  1435. Box 6: (E ) [ends with seven spaces]
  1436. Box 7: (E ) [ends with seven spaces]
  1437. Box 8: (E ) [ends with seven spaces]
  1438. Box 9: (z♀loy…Qn) [lower case L; one …]
  1439. Box 10: (♀QnFGEn ) [ends with space]
  1440. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  1441. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  1442. Box 13: (qU?n…QRn) [one …]
  1443. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  1444. _______________________________
  1445. For German and French versions:
  1446. sbc r12,pc,EE00 E2CFCCEE %% R12=PC-EE00-1=20295EB
  1447. sbc r12,r12,2B00 E2CCCDAC %% R12=R12-2B00-1=2026AEA
  1448. -filler- BFBFBFFF
  1449. mov r11, C♠ E3B0B0C♠ %% R11=C♠
  1450. -filler- BFBFFF00
  1451. adc r11,r11,C*0 E2ABBEC* %% R11=R11+C*0=°♣♠
  1452. -filler- BFFF0000
  1453. adc r11,r11,C*00 E2ABBCC* %% R11=R11+C*00=°♦♣♠
  1454. -filler- FF000000
  1455. adc r11,r11,C*000 E2ABBAC* %% R11=R11+C*000=°♥♦♣♠
  1456. strh r11 [r12, 14] E1CCB1B4 %% Store item index in its location
  1457. -filler- 0000BFFF
  1458. -filler- 00000000
  1459. -filler- 00BFFF00
  1460. -filler- 00000000
  1461. -filler- BFFF0000
  1462. -filler- 00000000
  1463. -filler- FF000000
  1464. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  1465. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  1466. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  1467. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  1468. -filler- BFBFFF00
  1469. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  1470. -filler- BFFF0000
  1471. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  1472. -filler- FF000000
  1473. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  1474. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  1475. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  1476. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  1477.  
  1478. Box names:
  1479. Box 1: (zRUn?SRn)
  1480. Box 2: (EEE*……n ) [two …; ends with space]
  1481. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  1482.  
  1483. Box 3: (EE*D!n ) [ends with two spaces]
  1484. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  1485.  
  1486. Box 4: (E*B!n ) [ends with three spaces]
  1487. if ♣=C,D,E,F, then
  1488. * = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  1489. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  1490. * = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  1491.  
  1492. Box 5: (*/!n'"Rm) [righty '; lefty "]
  1493. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  1494. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  1495. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  1496. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  1497.  
  1498. Box 6: (E ) [ends with seven spaces]
  1499. Box 7: (E ) [ends with seven spaces]
  1500. Box 8: (E ) [ends with seven spaces]
  1501. Box 9: (z♀loy…Qn) [lower case L; one …]
  1502. Box 10: (♀QnFGEn ) [ends with space]
  1503. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  1504. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  1505. Box 13: (zU?n…QRn) [one …]
  1506. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  1507. _______________________________
  1508. For Japanese versions:
  1509. mov r1,pc 4679 %% R1=PC+4=2038104
  1510. ldr r0,pc+18 4806 %% R0=118CA
  1511. sub r1,r1,r0 1A09 %% R1=R1-R0=202683A
  1512. ldr r0,pc+20 4808 %% R0=yyYY
  1513. -filler- 00FF
  1514. ldr r2,pc+10 4A05 %% R2=FF00zzZZ
  1515. add r0,r0,r2 1880 %% R0=R0+R2=yyYY+FF00zzZZ=FF00xxXX=item index
  1516. b pc,4 E000 %% Skip bad filler
  1517. -bad filler- FF00
  1518. strh r0,[r1] 8008 %% Store item index
  1519. ldr r0 pc+C 4803 %% R0=80111B6
  1520. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  1521. bx r0 4700
  1522. -filler- 00FF
  1523. -data- 18CA
  1524. -data- 0001
  1525. -data- zzZZ
  1526. -data- FF00
  1527. -data- 11B6
  1528. -data- 0801
  1529. -data- yyYY
  1530. -data- 0000
  1531.  
  1532. Box 1: (ルばかぶけはくぶ)
  1533. Box 2: ( おぼィね l ) [starts with space; お not ぉ; ィ not イ; one space after ね; lower case L; ends with space]
  1534. Box 3: (くィうぶFふ び) [ィ not イ; う not ぅ; one space after ふ]
  1535. Box 4: ( Pねあ °§ ) [starts with space; あ not ぁ; space after あ; ends with space]
  1536. index of °=ZZ; index of §=zz
  1537. Box 5: (♀ちあく*° ) [あ not ぁ; う not ぅ; ends with two spaces]
  1538. index of *=YY; index of °=yy
  1539. Box 6 onwards: Anything
  1540. _______________________________________________________________________________________________________________________________________
  1541.  
  1542.  
  1543. -Make Groudon/Kyogre reappear:
  1544. Note: this code will make Rayquaza reappear if you already caught or fought it. You should not use this code if Rayquaza is present since you'll not be able to check if the code worked properly
  1545. _______________________________
  1546. For English versions:
  1547. sbc r11,pc,DB00 E2CFBCDB %% R11=PC-DB00-1=202A8EB
  1548. movs r12,2E8 E3B0CFBA %% R12=2E8
  1549. sbc r11,r11,3FC0 E2CBBDFF %% R11=R11-3FC0-1=202692A
  1550. sbc r0,r12,E7 E2CC00E7 %% R0=R12-E7-1=200
  1551. -filler- BFBFFF00
  1552. ldrh r12 [r11, 90] E1DBC9B0 %% Load legendary halfword in R12
  1553. -filler- BFFF0000
  1554. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new legendary halfword
  1555. -filler- FF000000
  1556. strh r12 [r11, 90] E1CBC9B0 %% Store back new legendary halfword
  1557. movs r12,0 E3B0C000 %% R12=0=new state var
  1558. adc r11,r11,FF E2ABB0FF %% R11=R11+FF=2026A29
  1559. adc r11,r11,ED E2ABB0ED %% R11=R11+ED=2026B16
  1560. -filler- BFBFFF00
  1561. strh r12 [r11, 94] E1CBC9B4 %% Store new state var
  1562. -filler- BFFF0000
  1563. -filler- 00000000
  1564. -filler- FF000000
  1565. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  1566. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  1567. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  1568. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  1569. -filler- BFBFFF00
  1570. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  1571. -filler- BFFF0000
  1572. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  1573. -filler- FF000000
  1574. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  1575. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  1576. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  1577. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  1578.  
  1579. Box names:
  1580. Box 1: (gBUn/U…o) [one …]
  1581. Box 2: (CQns Rn ) [one space after s; ends with space]
  1582. Box 3: (EE…Ogm ) [one …; upper case o; ends with two spaces]
  1583. Box 4: (E FRm ) [one space after E; ends with three spaces]
  1584. Box 5: (…OQm F…o) [one …; upper case o; one space after m; one …]
  1585. Box 6: (…!ny…!n ) [one …; one …; ends with space]
  1586. Box 7: (EE'OQm ) [righty '; upper case o; ends with two spaces]
  1587. Box 8: (E ) [ends with seven spaces]
  1588. Box 9: (z♀loy…Qn) [lower case L; one …]
  1589. Box 10: (♀QnFGEn ) [ends with space]
  1590. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  1591. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  1592. Box 13: (qU?n…QRn) [one …]
  1593. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  1594. _______________________________
  1595. For Italian and Spanish versions:
  1596. sbc r11,pc,DB00 E2CFBCDB %% R11=PC-DB00-1=202A8EB
  1597. movs r12,2E8 E3B0CFBA %% R12=2E8
  1598. sbc r11,r11,3FC0 E2CBBDFF %% R11=R11-3FC0-1=202692A
  1599. sbc r0,r12,E7 E2CC00E7 %% R0=R12-E7-1=200
  1600. -filler- BFBFFF00
  1601. ldrh r12 [r11, 90] E1DBC9B0 %% Load legendary halfword in R12
  1602. -filler- BFFF0000
  1603. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new legendary halfword
  1604. -filler- FF000000
  1605. strh r12 [r11, 90] E1CBC9B0 %% Store back new legendary halfword
  1606. movs r12,0 E3B0C000 %% R12=0=new state var
  1607. adc r11,r11,FF E2ABB0FF %% R11=R11+FF=2026A29
  1608. adc r11,r11,ED E2ABB0ED %% R11=R11+ED=2026B16
  1609. -filler- BFBFFF00
  1610. strh r12 [r11, 94] E1CBC9B4 %% Store new state var
  1611. -filler- BFFF0000
  1612. -filler- 00000000
  1613. -filler- FF000000
  1614. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  1615. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  1616. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  1617. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  1618. -filler- BFBFFF00
  1619. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  1620. -filler- BFFF0000
  1621. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  1622. -filler- FF000000
  1623. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  1624. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  1625. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  1626. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  1627.  
  1628. Box names:
  1629. Box 1: (gBUn/U…o) [one …]
  1630. Box 2: (CQns Rn ) [one space after s; ends with space]
  1631. Box 3: (EE…Ogm ) [one …; upper case o; ends with two spaces]
  1632. Box 4: (E FRm ) [one space after E; ends with three spaces]
  1633. Box 5: (…OQm F…o) [one …; upper case o; one space after m; one …]
  1634. Box 6: (…!ny…!n ) [one …; one …; ends with space]
  1635. Box 7: (EE'OQm ) [righty '; upper case o; ends with two spaces]
  1636. Box 8: (E ) [ends with seven spaces]
  1637. Box 9: (z♀loy…Qn) [lower case L; one …]
  1638. Box 10: (♀QnFGEn ) [ends with space]
  1639. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  1640. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  1641. Box 13: (qU?n…QRn) [one …]
  1642. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  1643. _______________________________
  1644. For German and French versions:
  1645. sbc r11,pc,DB00 E2CFBCDB %% R11=PC-DB00-1=202A8EB
  1646. movs r12,2E8 E3B0CFBA %% R12=2E8
  1647. sbc r11,r11,3FC0 E2CBBDFF %% R11=R11-3FC0-1=202692A
  1648. sbc r0,r12,E7 E2CC00E7 %% R0=R12-E7-1=200
  1649. -filler- BFBFFF00
  1650. ldrh r12 [r11, 90] E1DBC9B0 %% Load legendary halfword in R12
  1651. -filler- BFFF0000
  1652. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new legendary halfword
  1653. -filler- FF000000
  1654. strh r12 [r11, 90] E1CBC9B0 %% Store back new legendary halfword
  1655. movs r12,0 E3B0C000 %% R12=0=new state var
  1656. adc r11,r11,FF E2ABB0FF %% R11=R11+FF=2026A29
  1657. adc r11,r11,ED E2ABB0ED %% R11=R11+ED=2026B16
  1658. -filler- BFBFFF00
  1659. strh r12 [r11, 94] E1CBC9B4 %% Store new state var
  1660. -filler- BFFF0000
  1661. -filler- 00000000
  1662. -filler- FF000000
  1663. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  1664. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  1665. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  1666. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  1667. -filler- BFBFFF00
  1668. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  1669. -filler- BFFF0000
  1670. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  1671. -filler- FF000000
  1672. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  1673. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  1674. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  1675. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  1676.  
  1677. Box names:
  1678. Box 1: (gBUn/U…o) [one …]
  1679. Box 2: (CQns Rn ) [one space after s; ends with space]
  1680. Box 3: (EE…Ogm ) [one …; upper case o; ends with two spaces]
  1681. Box 4: (E FRm ) [one space after E; ends with three spaces]
  1682. Box 5: (…OQm F…o) [one …; upper case o; one space after m; one …]
  1683. Box 6: (…!ny…!n ) [one …; one …; ends with space]
  1684. Box 7: (EE'OQm ) [righty '; upper case o; ends with two spaces]
  1685. Box 8: (E ) [ends with seven spaces]
  1686. Box 9: (z♀loy…Qn) [lower case L; one …]
  1687. Box 10: (♀QnFGEn ) [ends with space]
  1688. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  1689. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  1690. Box 13: (zU?n…QRn) [one …]
  1691. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  1692. ____________________________
  1693. For Japanese versions:
  1694. mov r1,pc 4679 %% R1=PC+4=2038104
  1695. ldr r0 pc+24 4809 %% R0=119EA
  1696. sub r1,r1,r0 1A09 %% R1=R1-R0=202671A=target halfword location
  1697. ldr r0,pc+28 480A %% R0=200
  1698. -filler- 00FF
  1699. ldrh r2,[r1] 880A %% Load target halfword in R2
  1700. bic r2,r2,r0 4382 %% R2=R2 and notR0=new halfword
  1701. b pc,4 E000 %% Skip bad filler
  1702. -bad filler- FF00
  1703. strh r2,[r1] 800A %% Store back new halfword
  1704. mov r2,20 2200 %% R2=0=new state var
  1705. add r1, ED 31ED %% R1=R1+ED=2026807
  1706. ldr r0 pc+8 4802 %% R0=80111B6
  1707. add r1, FF 31FF %% R1=R1+FF=2026906
  1708. strh r2,[r1,4] 808A %% Store back new halfword
  1709. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  1710. bx r0 4700
  1711. -filler- FF00
  1712. -data- 11B6
  1713. -data- 0801
  1714. -data- 19EA
  1715. -data- 0001
  1716. -filler- 00FF
  1717. -filler- 0000
  1718. -data- 0200
  1719. -data- 0000
  1720.  
  1721. Box names:
  1722. Box 1: (ルばけぶけはこぶ)
  1723. Box 2: ( こギェづ l ) [starts with space; ェ not エ; one space after づ; lower case L; ends with space]
  1724. Box 3: (こィ めyぅいぶ) [ィ not イ; one space after ィ; ぅ not う; い not ぃ]
  1725. Box 4: (ぅゲィFふ び ) [ぅ not う; ィ not イ; one space after ふ; ends with space]
  1726. Box 5: (♀ちあくvのあ ) [あ not ぁ; あ not ぁ; ends with space]
  1727. Box 6: ( い ) [starts with four spaces; い not ぃ; ends with three spaces]
  1728. Box 7 onwards: Anything
  1729. _______________________________________________________________________________________________________________________________________
  1730.  
  1731.  
  1732. -Make Rayquaza reappear:
  1733. Note: this code will make Rayquaza reappear if you already caught or fought it. You should not use this code if Rayquaza is present since you'll not be able to check if the code worked properly
  1734. _______________________________
  1735. For English versions:
  1736. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  1737. movs r11,EE E3B0B0EE %% R11=EE
  1738. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  1739. sbc r0,r11,CD E2CB00CD %% R0=R11-CD-1=20
  1740. -filler- BFBFFF00
  1741. ldrh r12 [r10, 8A] E1DAC8BA %% Load Rayquaza's halfword in R12
  1742. -filler- BFFF0000
  1743. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new Rayquaza's halfword
  1744. -filler- FF000000
  1745. strh r12 [r10, 8A] E1CAC8BA %% Store back new Rayquaza's halfword
  1746. -filler- 00000000
  1747. -filler- 0000BFFF
  1748. -filler- 00000000
  1749. -filler- 00BFFF00
  1750. -filler- 00000000
  1751. -filler- BFFF0000
  1752. -filler- 00000000
  1753. -filler- FF000000
  1754. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  1755. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  1756. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  1757. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  1758. -filler- BFBFFF00
  1759. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  1760. -filler- BFFF0000
  1761. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  1762. -filler- FF000000
  1763. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  1764. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  1765. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  1766. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  1767.  
  1768. Box names:
  1769. Box 1: (g?Unz……o) [two …]
  1770. Box 2: (.PnS Qn ) [one space after S; ends with space]
  1771. Box 3: (EE/Nfm ) [ends with two spaces]
  1772. Box 4: (E FRm ) [one space after E; ends with three spaces]
  1773. Box 5: (/NPm ) [ends with four spaces]
  1774. Box 6: (E ) [ends with seven spaces]
  1775. Box 7: (E ) [ends with seven spaces]
  1776. Box 8: (E ) [ends with seven spaces]
  1777. Box 9: (z♀loy…Qn) [lower case L; one …]
  1778. Box 10: (♀QnFGEn ) [ends with space]
  1779. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  1780. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  1781. Box 13: (qU?n…QRn) [one …]
  1782. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  1783. _______________________________
  1784. For Italian and Spanish versions:
  1785. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  1786. movs r11,EE E3B0B0EE %% R11=EE
  1787. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  1788. sbc r0,r11,CD E2CB00CD %% R0=R11-CD-1=20
  1789. -filler- BFBFFF00
  1790. ldrh r12 [r10, 8A] E1DAC8BA %% Load Rayquaza's halfword in R12
  1791. -filler- BFFF0000
  1792. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new Rayquaza's halfword
  1793. -filler- FF000000
  1794. strh r12 [r10, 8A] E1CAC8BA %% Store back new Rayquaza's halfword
  1795. -filler- 00000000
  1796. -filler- 0000BFFF
  1797. -filler- 00000000
  1798. -filler- 00BFFF00
  1799. -filler- 00000000
  1800. -filler- BFFF0000
  1801. -filler- 00000000
  1802. -filler- FF000000
  1803. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  1804. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  1805. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  1806. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  1807. -filler- BFBFFF00
  1808. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  1809. -filler- BFFF0000
  1810. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  1811. -filler- FF000000
  1812. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  1813. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  1814. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  1815. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  1816.  
  1817. Box names:
  1818. Box 1: (g?Unz……o) [two …]
  1819. Box 2: (.PnS Qn ) [one space after S; ends with space]
  1820. Box 3: (EE/Nfm ) [ends with two spaces]
  1821. Box 4: (E FRm ) [one space after E; ends with three spaces]
  1822. Box 5: (/NPm ) [ends with four spaces]
  1823. Box 6: (E ) [ends with seven spaces]
  1824. Box 7: (E ) [ends with seven spaces]
  1825. Box 8: (E ) [ends with seven spaces]
  1826. Box 9: (z♀loy…Qn) [lower case L; one …]
  1827. Box 10: (♀QnFGEn ) [ends with space]
  1828. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  1829. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  1830. Box 13: (qU?n…QRn) [one …]
  1831. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  1832. _______________________________
  1833. For German and French versions:
  1834. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  1835. movs r11,EE E3B0B0EE %% R11=EE
  1836. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  1837. sbc r0,r11,CD E2CB00CD %% R0=R11-CD-1=20
  1838. -filler- BFBFFF00
  1839. ldrh r12 [r10, 8A] E1DAC8BA %% Load Rayquaza's halfword in R12
  1840. -filler- BFFF0000
  1841. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new Rayquaza's halfword
  1842. -filler- FF000000
  1843. strh r12 [r10, 8A] E1CAC8BA %% Store back new Rayquaza's halfword
  1844. -filler- 00000000
  1845. -filler- 0000BFFF
  1846. -filler- 00000000
  1847. -filler- 00BFFF00
  1848. -filler- 00000000
  1849. -filler- BFFF0000
  1850. -filler- 00000000
  1851. -filler- FF000000
  1852. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  1853. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  1854. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  1855. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  1856. -filler- BFBFFF00
  1857. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  1858. -filler- BFFF0000
  1859. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  1860. -filler- FF000000
  1861. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  1862. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  1863. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  1864. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  1865.  
  1866. Box names:
  1867. Box 1: (g?Unz……o) [two …]
  1868. Box 2: (.PnS Qn ) [one space after S; ends with space]
  1869. Box 3: (EE/Nfm ) [ends with two spaces]
  1870. Box 4: (E FRm ) [one space after E; ends with three spaces]
  1871. Box 5: (/NPm ) [ends with four spaces]
  1872. Box 6: (E ) [ends with seven spaces]
  1873. Box 7: (E ) [ends with seven spaces]
  1874. Box 8: (E ) [ends with seven spaces]
  1875. Box 9: (z♀loy…Qn) [lower case L; one …]
  1876. Box 10: (♀QnFGEn ) [ends with space]
  1877. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  1878. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  1879. Box 13: (zU?n…QRn) [one …]
  1880. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  1881. ____________________________
  1882. For Japanese versions:
  1883. mov r1,pc 4679 %% R1=PC+4=2038104
  1884. ldr r0 pc+18 4806 %% R0=11A00
  1885. sub r1,r1,r0 1A09 %% R1=R1-R0=2026704
  1886. mov r0,20 2020 %% R0=20
  1887. -filler- 00FF
  1888. ldrh r2,[r1,10] 8A0A %% Load target halfword in R2
  1889. bic r2,r2,r0 4382 %% R2=R2 and notR0=new halfword
  1890. b pc,4 E000 %% Skip bad filler
  1891. -bad filler- FF00
  1892. strh r2,[r1,10] 820A %% Store back new halfword
  1893. ldr r0 pc+C 4803 %% R0=80111B6
  1894. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  1895. bx r0 4700
  1896. -filler- 00FF
  1897. -data- 1A00
  1898. -data- 0001
  1899. -filler- 0000
  1900. -filler- FF00
  1901. -data- 11B6
  1902. -data- 0801
  1903.  
  1904. Box names:
  1905. Box 1: (ルばかぶけはみみ)
  1906. Box 2: ( こゲェづ l ) [starts with space; ェ not エ; one space after づ; lower case L; ends with space]
  1907. Box 3: (こェうぶFふ び) [ェ not エ; う not ぅ; one space after ふ]
  1908. Box 4: ( はあ ) [starts with two spaces; あ not ぁ; ends with four spaces]
  1909. Box 5: (♀ちあく ) [あ not ぁ; ends with four spaces]
  1910. Box 6 onwards: Anything
  1911. _______________________________________________________________________________________________________________________________________
  1912.  
  1913.  
  1914. -Make Regirock, Regice and Registeel reappear:
  1915. Note: this code will make Regirock, Regice and Registeel reappear if you already caught or fought. You should not use this code if all the three Pokémon are present since you'll not be able to check if the code worked properly but it is fine to use it if some of them are present
  1916. _______________________________
  1917. For English versions:
  1918. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  1919. movs r11,380 E3B0BFE0 %% R11=380
  1920. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  1921. adc r0,r11,0 E2AB0000 %% R0=R11+0=380
  1922. -filler- BFBFFF00
  1923. ldrh r12 [r10, 9E] E1DAC9BE %% Load Regi's halfword in R12
  1924. -filler- BFFF0000
  1925. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new Regi's halfword
  1926. -filler- FF000000
  1927. strh r12 [r10, 9E] E1CAC9BE %% Store back new Regi's halfword
  1928. -filler- 00000000
  1929. -filler- 0000BFFF
  1930. -filler- 00000000
  1931. -filler- 00BFFF00
  1932. -filler- 00000000
  1933. -filler- BFFF0000
  1934. -filler- 00000000
  1935. -filler- FF000000
  1936. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  1937. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  1938. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  1939. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  1940. -filler- BFBFFF00
  1941. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  1942. -filler- BFFF0000
  1943. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  1944. -filler- FF000000
  1945. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  1946. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  1947. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  1948. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  1949.  
  1950. Box names:
  1951. Box 1: (g?UnlE…o) [lower case L; one …]
  1952. Box 2: (.Pn !n ) [two spaces after n; ends with space]
  1953. Box 3: (EEDOfm ) [upper case o; ends with two spaces]
  1954. Box 4: (E FRm ) [one space after E; ends with three spaces]
  1955. Box 5: (DOPm ) [upper case o; ends with four spaces]
  1956. Box 6: (E ) [ends with seven spaces]
  1957. Box 7: (E ) [ends with seven spaces]
  1958. Box 8: (E ) [ends with seven spaces]
  1959. Box 9: (z♀loy…Qn) [lower case L; one …]
  1960. Box 10: (♀QnFGEn ) [ends with space]
  1961. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  1962. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  1963. Box 13: (qU?n…QRn) [one …]
  1964. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  1965. _______________________________
  1966. For Italian and Spanish versions:
  1967. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  1968. movs r11,380 E3B0BFE0 %% R11=380
  1969. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  1970. adc r0,r11,0 E2AB0000 %% R0=R11+0=380
  1971. -filler- BFBFFF00
  1972. ldrh r12 [r10, 9E] E1DAC9BE %% Load Regi's halfword in R12
  1973. -filler- BFFF0000
  1974. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new Regi's halfword
  1975. -filler- FF000000
  1976. strh r12 [r10, 9E] E1CAC9BE %% Store back new Regi's halfword
  1977. -filler- 00000000
  1978. -filler- 0000BFFF
  1979. -filler- 00000000
  1980. -filler- 00BFFF00
  1981. -filler- 00000000
  1982. -filler- BFFF0000
  1983. -filler- 00000000
  1984. -filler- FF000000
  1985. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  1986. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  1987. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  1988. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  1989. -filler- BFBFFF00
  1990. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  1991. -filler- BFFF0000
  1992. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  1993. -filler- FF000000
  1994. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  1995. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  1996. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  1997. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  1998.  
  1999. Box names:
  2000. Box 1: (g?UnlE…o) [lower case L; one …]
  2001. Box 2: (.Pn !n ) [two spaces after n; ends with space]
  2002. Box 3: (EEDOfm ) [upper case o; ends with two spaces]
  2003. Box 4: (E FRm ) [one space after E; ends with three spaces]
  2004. Box 5: (DOPm ) [upper case o; ends with four spaces]
  2005. Box 6: (E ) [ends with seven spaces]
  2006. Box 7: (E ) [ends with seven spaces]
  2007. Box 8: (E ) [ends with seven spaces]
  2008. Box 9: (z♀loy…Qn) [lower case L; one …]
  2009. Box 10: (♀QnFGEn ) [ends with space]
  2010. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2011. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2012. Box 13: (qU?n…QRn) [one …]
  2013. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  2014. _______________________________
  2015. For German and French versions:
  2016. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  2017. movs r11,380 E3B0BFE0 %% R11=380
  2018. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  2019. adc r0,r11,0 E2AB0000 %% R0=R11+0=380
  2020. -filler- BFBFFF00
  2021. ldrh r12 [r10, 9E] E1DAC9BE %% Load Regi's halfword in R12
  2022. -filler- BFFF0000
  2023. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new Regi's halfword
  2024. -filler- FF000000
  2025. strh r12 [r10, 9E] E1CAC9BE %% Store back new Regi's halfword
  2026. -filler- 00000000
  2027. -filler- 0000BFFF
  2028. -filler- 00000000
  2029. -filler- 00BFFF00
  2030. -filler- 00000000
  2031. -filler- BFFF0000
  2032. -filler- 00000000
  2033. -filler- FF000000
  2034. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2035. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2036. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2037. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2038. -filler- BFBFFF00
  2039. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2040. -filler- BFFF0000
  2041. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2042. -filler- FF000000
  2043. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  2044. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  2045. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  2046. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  2047.  
  2048. Box names:
  2049. Box 1: (g?UnlE…o) [lower case L; one …]
  2050. Box 2: (.Pn !n ) [two spaces after n; ends with space]
  2051. Box 3: (EEDOfm ) [upper case o; ends with two spaces]
  2052. Box 4: (E FRm ) [one space after E; ends with three spaces]
  2053. Box 5: (DOPm ) [upper case o; ends with four spaces]
  2054. Box 6: (E ) [ends with seven spaces]
  2055. Box 7: (E ) [ends with seven spaces]
  2056. Box 8: (E ) [ends with seven spaces]
  2057. Box 9: (z♀loy…Qn) [lower case L; one …]
  2058. Box 10: (♀QnFGEn ) [ends with space]
  2059. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2060. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2061. Box 13: (zU?n…QRn) [one …]
  2062. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  2063. ____________________________
  2064. For Japanese versions:
  2065. mov r1,pc 4679 %% R1=PC+4=2038104
  2066. ldr r0 pc+18 4806 %% R0=119DC
  2067. sub r1,r1,r0 1A09 %% R1=R1-R0=2026728=target location
  2068. ldr r0,pc+20 4808 %% R0=380
  2069. -filler- 00FF
  2070. ldrh r2,[r1] 880A %% Load target halfword in R2
  2071. bic r2,r2,r0 4382 %% R2=R2 and notR0=new halfword
  2072. b pc,4 E000 %% Skip bad filler
  2073. -bad filler- FF00
  2074. strh r2,[r1] 800A %% Store back new halfword
  2075. ldr r0 pc+C 4803 %% R0=80111B6
  2076. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  2077. bx r0 4700
  2078. -filler- 00FF
  2079. -data- 19DC
  2080. -data- 0001
  2081. -filler- 0000
  2082. -filler- FF00
  2083. -data- 11B6
  2084. -data- 0801
  2085. -data- 0380
  2086. -data- 0000
  2087.  
  2088. Box names:
  2089. Box 1: (ルばかぶけはくぶ)
  2090. Box 2: ( こギェづ l ) [starts with space; ェ not エ; one space after づ; lower case L; ends with space]
  2091. Box 3: (こィうぶFふ び) [ィ not イ; う not ぅ; one space after ふ]
  2092. Box 4: ( hのあ ) [starts with space; あ not ぁ; ends with five spaces]
  2093. Box 5: (♀ちあくィう ) [あ not ぁ; ィ not イ; う not ぅ; ends with two spaces]
  2094. Box 6 onwards: Anything
  2095. _______________________________________________________________________________________________________________________________________
  2096.  
  2097.  
  2098. -Make Southern Lati@s reappear:
  2099. Note: this code will make Lati@s reappear in Southern Island if you already caught or fought it. You should not use this code if Latio@ is present since you'll not be able to check if the code worked properly
  2100. _______________________________
  2101. For English versions:
  2102. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  2103. movs r11,C4000 E3B0BAC4 %% R11=C4000
  2104. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  2105. adc r0,r11,0 E2AB0000 %% R0=R11+0=C4000
  2106. -filler- BFBFFF00
  2107. ldrh r12 [r10, 42] E1DAC4B2 %% Load Lati@s's halfword in R12
  2108. -filler- BFFF0000
  2109. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new Lati@s's halfword
  2110. -filler- FF000000
  2111. strh r12 [r10, 42] E1CAC4B2 %% Store back new Lati@s's halfword
  2112. -filler- 00000000
  2113. -filler- 0000BFFF
  2114. -filler- 00000000
  2115. -filler- 00BFFF00
  2116. -filler- 00000000
  2117. -filler- BFFF0000
  2118. -filler- 00000000
  2119. -filler- FF000000
  2120. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2121. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2122. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2123. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2124. -filler- BFBFFF00
  2125. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2126. -filler- BFFF0000
  2127. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2128. -filler- FF000000
  2129. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  2130. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  2131. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  2132. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  2133.  
  2134. Box names:
  2135. Box 1: (g?UnJ/…o) [one …]
  2136. Box 2: (.Pn !n ) [two spaces after n; ends with space]
  2137. Box 3: (EE"Jfm ) [righty "; ends with two spaces]
  2138. Box 4: (E FRm ) [one space after E; ends with three spaces]
  2139. Box 5: ("JPm ) [righty "; ends with four spaces]
  2140. Box 6: (E ) [ends with seven spaces]
  2141. Box 7: (E ) [ends with seven spaces]
  2142. Box 8: (E ) [ends with seven spaces]
  2143. Box 9: (z♀loy…Qn) [lower case L; one …]
  2144. Box 10: (♀QnFGEn ) [ends with space]
  2145. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2146. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2147. Box 13: (qU?n…QRn) [one …]
  2148. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  2149. _______________________________
  2150. For Italian and Spanish versions:
  2151. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  2152. movs r11,C4000 E3B0BAC4 %% R11=C4000
  2153. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  2154. adc r0,r11,0 E2AB0000 %% R0=R11+0=C4000
  2155. -filler- BFBFFF00
  2156. ldrh r12 [r10, 42] E1DAC4B2 %% Load Lati@s's halfword in R12
  2157. -filler- BFFF0000
  2158. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new Lati@s's halfword
  2159. -filler- FF000000
  2160. strh r12 [r10, 42] E1CAC4B2 %% Store back new Lati@s's halfword
  2161. -filler- 00000000
  2162. -filler- 0000BFFF
  2163. -filler- 00000000
  2164. -filler- 00BFFF00
  2165. -filler- 00000000
  2166. -filler- BFFF0000
  2167. -filler- 00000000
  2168. -filler- FF000000
  2169. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2170. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2171. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2172. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2173. -filler- BFBFFF00
  2174. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2175. -filler- BFFF0000
  2176. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2177. -filler- FF000000
  2178. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  2179. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  2180. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  2181. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  2182.  
  2183. Box names:
  2184. Box 1: (g?UnJ/…o) [one …]
  2185. Box 2: (.Pn !n ) [two spaces after n; ends with space]
  2186. Box 3: (EE"Jfm ) [righty "; ends with two spaces]
  2187. Box 4: (E FRm ) [one space after E; ends with three spaces]
  2188. Box 5: ("JPm ) [righty "; ends with four spaces]
  2189. Box 6: (E ) [ends with seven spaces]
  2190. Box 7: (E ) [ends with seven spaces]
  2191. Box 8: (E ) [ends with seven spaces]
  2192. Box 9: (z♀loy…Qn) [lower case L; one …]
  2193. Box 10: (♀QnFGEn ) [ends with space]
  2194. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2195. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2196. Box 13: (qU?n…QRn) [one …]
  2197. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  2198. _______________________________
  2199. For German and French versions:
  2200. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  2201. movs r11,C4000 E3B0BAC4 %% R11=C4000
  2202. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  2203. adc r0,r11,0 E2AB0000 %% R0=R11+0=C4000
  2204. -filler- BFBFFF00
  2205. ldrh r12 [r10, 42] E1DAC4B2 %% Load Lati@s's halfword in R12
  2206. -filler- BFFF0000
  2207. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new Lati@s's halfword
  2208. -filler- FF000000
  2209. strh r12 [r10, 42] E1CAC4B2 %% Store back new Lati@s's halfword
  2210. -filler- 00000000
  2211. -filler- 0000BFFF
  2212. -filler- 00000000
  2213. -filler- 00BFFF00
  2214. -filler- 00000000
  2215. -filler- BFFF0000
  2216. -filler- 00000000
  2217. -filler- FF000000
  2218. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2219. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2220. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2221. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2222. -filler- BFBFFF00
  2223. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2224. -filler- BFFF0000
  2225. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2226. -filler- FF000000
  2227. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  2228. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  2229. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  2230. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  2231.  
  2232. Box names:
  2233. Box 1: (g?UnJ/…o) [one …]
  2234. Box 2: (.Pn !n ) [two spaces after n; ends with space]
  2235. Box 3: (EE"Jfm ) [righty "; ends with two spaces]
  2236. Box 4: (E FRm ) [one space after E; ends with three spaces]
  2237. Box 5: ("JPm ) [righty "; ends with four spaces]
  2238. Box 6: (E ) [ends with seven spaces]
  2239. Box 7: (E ) [ends with seven spaces]
  2240. Box 8: (E ) [ends with seven spaces]
  2241. Box 9: (z♀loy…Qn) [lower case L; one …]
  2242. Box 10: (♀QnFGEn ) [ends with space]
  2243. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2244. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2245. Box 13: (zU?n…QRn) [one …]
  2246. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  2247. ____________________________
  2248. For Japanese versions:
  2249. mov r1,pc 4679 %% R1=PC+4=2038104
  2250. ldr r0 pc+18 4806 %% R0=11A38
  2251. sub r1,r1,r0 1A09 %% R1=R1-R0=20266CC=target location
  2252. ldr r0,pc+20 4808 %% R0=4000
  2253. -filler- 00FF
  2254. ldrh r2,[r1] 880A %% Load target halfword in R2
  2255. bic r2,r2,r0 4382 %% R2=R2 and notR0=new halfword
  2256. b pc,4 E000 %% Skip bad filler
  2257. -bad filler- FF00
  2258. strh r2,[r1] 800A %% Store back new halfword
  2259. ldr r0 pc+C 4803 %% R0=80111B6
  2260. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  2261. bx r0 4700
  2262. -filler- 00FF
  2263. -data- 1A38
  2264. -data- 0001
  2265. -filler- 0000
  2266. -filler- FF00
  2267. -data- 11B6
  2268. -data- 0801
  2269. -data- 4000
  2270. -data- 0000
  2271.  
  2272. Box names:
  2273. Box 1: (ルばかぶけはくぶ)
  2274. Box 2: ( こギェづ l ) [starts with space; ェ not エ; one space after づ; lower case L; ends with space]
  2275. Box 3: (こィうぶFふ び) [ィ not イ; う not ぅ; one space after ふ]
  2276. Box 4: ( ぎはあ ) [starts with space; あ not ぁ; ends with five spaces]
  2277. Box 5: (♀ちあく ぞ ) [あ not ぁ; one space after く; ends with two spaces]
  2278. Box 6 onwards: Anything
  2279. _______________________________________________________________________________________________________________________________________
  2280.  
  2281.  
  2282. -Make Hoenn starters reappear:
  2283. Note: this code will make Birch's bag reappear in its usual spot in Route 101. By interacting with it you'll be able to pick up one of the three starters. After that you'll enter the battle against Poochyena and after beating it you'll warp into Birch's laboratory. Your starter will be in your team or, if you don't have empty party slots, in your boxes
  2284. _______________________________
  2285. For English versions:
  2286. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  2287. movs r11,E1000 E3B0BAE1 %% R11=E1000
  2288. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  2289. abc r0,r11,0 E2AB0000 %% R0=R11+0=E1000
  2290. -filler- BFBFFF00
  2291. ldrh r12 [r10, 80] E1DAC8B0 %% Load starters' halfword in R12 020269aa
  2292. -filler- BFFF0000
  2293. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new starters' halfword
  2294. -filler- FF000000
  2295. strh r12 [r10, 80] E1CAC8B0 %% Store back new starters' halfword
  2296. -filler- 00000000
  2297. -filler- 0000BFFF
  2298. -filler- 00000000
  2299. -filler- 00BFFF00
  2300. -filler- 00000000
  2301. -filler- BFFF0000
  2302. -filler- 00000000
  2303. -filler- FF000000
  2304. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2305. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2306. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2307. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2308. -filler- BFBFFF00
  2309. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2310. -filler- BFFF0000
  2311. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2312. -filler- FF000000
  2313. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  2314. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  2315. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  2316. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  2317.  
  2318. Box names:
  2319. Box 1: (g?Unm/…o) [one …]
  2320. Box 2: (.Pn !n ) [two spaces after n; ends with space]
  2321. Box 3: (EE…Nfm ) [one …; ends with two spaces]
  2322. Box 4: (E FRm ) [one space after E; ends with three spaces]
  2323. Box 5: (…NPm ) [one …; ends with four spaces]
  2324. Box 6: (E ) [ends with seven spaces]
  2325. Box 7: (E ) [ends with seven spaces]
  2326. Box 8: (E ) [ends with seven spaces]
  2327. Box 9: (z♀loy…Qn) [lower case L; one …]
  2328. Box 10: (♀QnFGEn ) [ends with space]
  2329. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2330. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2331. Box 13: (qU?n…QRn) [one …]
  2332. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  2333. _______________________________
  2334. For Italian and Spanish versions:
  2335. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  2336. movs r11,E1000 E3B0BAE1 %% R11=E1000
  2337. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  2338. abc r0,r11,0 E2AB0000 %% R0=R11+0=E1000
  2339. -filler- BFBFFF00
  2340. ldrh r12 [r10, 80] E1DAC8B0 %% Load starters' halfword in R12 020269aa
  2341. -filler- BFFF0000
  2342. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new starters' halfword
  2343. -filler- FF000000
  2344. strh r12 [r10, 80] E1CAC8B0 %% Store back new starters' halfword
  2345. -filler- 00000000
  2346. -filler- 0000BFFF
  2347. -filler- 00000000
  2348. -filler- 00BFFF00
  2349. -filler- 00000000
  2350. -filler- BFFF0000
  2351. -filler- 00000000
  2352. -filler- FF000000
  2353. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2354. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2355. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2356. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2357. -filler- BFBFFF00
  2358. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2359. -filler- BFFF0000
  2360. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2361. -filler- FF000000
  2362. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  2363. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  2364. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  2365. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  2366.  
  2367. Box names:
  2368. Box 1: (g?Unm/…o) [one …]
  2369. Box 2: (.Pn !n ) [two spaces after n; ends with space]
  2370. Box 3: (EE…Nfm ) [one …; ends with two spaces]
  2371. Box 4: (E FRm ) [one space after E; ends with three spaces]
  2372. Box 5: (…NPm ) [one …; ends with four spaces]
  2373. Box 6: (E ) [ends with seven spaces]
  2374. Box 7: (E ) [ends with seven spaces]
  2375. Box 8: (E ) [ends with seven spaces]
  2376. Box 9: (z♀loy…Qn) [lower case L; one …]
  2377. Box 10: (♀QnFGEn ) [ends with space]
  2378. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2379. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2380. Box 13: (qU?n…QRn) [one …]
  2381. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  2382. _______________________________
  2383. For German and French versions:
  2384. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  2385. movs r11,E1000 E3B0BAE1 %% R11=E1000
  2386. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  2387. abc r0,r11,0 E2AB0000 %% R0=R11+0=E1000
  2388. -filler- BFBFFF00
  2389. ldrh r12 [r10, 80] E1DAC8B0 %% Load starters' halfword in R12 020269aa
  2390. -filler- BFFF0000
  2391. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new starters' halfword
  2392. -filler- FF000000
  2393. strh r12 [r10, 80] E1CAC8B0 %% Store back new starters' halfword
  2394. -filler- 00000000
  2395. -filler- 0000BFFF
  2396. -filler- 00000000
  2397. -filler- 00BFFF00
  2398. -filler- 00000000
  2399. -filler- BFFF0000
  2400. -filler- 00000000
  2401. -filler- FF000000
  2402. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2403. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2404. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2405. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2406. -filler- BFBFFF00
  2407. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2408. -filler- BFFF0000
  2409. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2410. -filler- FF000000
  2411. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  2412. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  2413. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  2414. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  2415.  
  2416. Box names:
  2417. Box 1: (g?Unm/…o) [one …]
  2418. Box 2: (.Pn !n ) [two spaces after n; ends with space]
  2419. Box 3: (EE…Nfm ) [one …; ends with two spaces]
  2420. Box 4: (E FRm ) [one space after E; ends with three spaces]
  2421. Box 5: (…NPm ) [one …; ends with four spaces]
  2422. Box 6: (E ) [ends with seven spaces]
  2423. Box 7: (E ) [ends with seven spaces]
  2424. Box 8: (E ) [ends with seven spaces]
  2425. Box 9: (z♀loy…Qn) [lower case L; one …]
  2426. Box 10: (♀QnFGEn ) [ends with space]
  2427. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2428. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2429. Box 13: (zU?n…QRn) [one …]
  2430. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  2431. ____________________________
  2432. For Japanese versions:
  2433. mov r1,pc 4679 %% R1=PC+4=2038104
  2434. ldr r0 pc+18 4806 %% R0=11A0A
  2435. sub r1,r1,r0 1A09 %% R1=R1-R0=202670A
  2436. ldr r0 pc+18 4806 %% R0=FF001000
  2437. -filler- 00FF
  2438. ldrh r2,[r1,10] 8A0A %% Load target halfword in R2
  2439. bic r2,r2,r0 4382 %% R2=R2 and notR0=new halfword
  2440. b pc,4 E000 %% Skip bad filler
  2441. -bad filler- FF00
  2442. strh r2,[r1,10] 820A %% Store back new halfword
  2443. ldr r0 pc+C 4803 %% R0=80111B6
  2444. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  2445. bx r0 4700
  2446. -filler- 00FF
  2447. -data- 1A0A
  2448. -data- 0001
  2449. -data- 1000
  2450. -data- FF00
  2451. -data- 11B6
  2452. -data- 0801
  2453.  
  2454. Box names:
  2455. Box 1: (ルばかぶけはかぶ)
  2456. Box 2: ( こゲェづ l ) [starts with space; ェ not エ; one space after づ; lower case L; ends with space]
  2457. Box 3: (こェうぶFふ び) [ェ not エ; う not ぅ; one space after ふ]
  2458. Box 4: ( こはあ た ) [starts with space; あ not ぁ; two spaces after あ; ends with space]
  2459. Box 5: (♀ちあく ) [あ not ぁ; ends with four spaces]
  2460. Box 6 onwards: Anything
  2461. _______________________________________________________________________________________________________________________________________
  2462.  
  2463.  
  2464. -Release a new roamer:
  2465. Notes: execute this code in Route 101, then talk to the boy with the blu hat. The regular TV event will start and a roamer will be generated. Using this code while already having a roamer around is fine but it will delete the old one
  2466. _______________________________
  2467. For English Ruby 1.0:
  2468. sbc r11,pc,EE00 E2CFBCEE %% R11=PC-EE00-1=20295EB
  2469. sbc r11,r11,3340 E2CBBDCD %% R11=R11-3340-1=20262AA+BA
  2470. -filler- BFBFBFFF
  2471. movs r12, 8000003 E3B0C3C2 %% R12=8000003
  2472. -filler- BFBFFF00
  2473. adc r12,r12,EE000 E2ACCAEE %% R12=R12+EE000=80EE003
  2474. -filler- BFFF0000
  2475. adc r12,r12,B8000 E2ACCAB8 %% R12=R12+B8000=81A6003
  2476. -filler- FF000000
  2477. adc r12,r12,ED0 E2ACCEED %% R12=R12+ED0=81A6ED3
  2478. adc r12,r12,38 E2ACC1E0 %% R12=R12+38=81A6F0B
  2479. -filler- BFBFBFFF
  2480. str r12 [r11, BA]! E5ABC0BA
  2481. -filler- 00BFFF00
  2482. -filler- 00000000
  2483. -filler- BFFF0000
  2484. -filler- 00000000
  2485. -filler- FF000000
  2486. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2487. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2488. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2489. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2490. -filler- BFBFFF00
  2491. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2492. -filler- BFFF0000
  2493. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2494. -filler- FF000000
  2495. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  2496. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  2497. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  2498. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  2499.  
  2500. Box names:
  2501. Box 1: (zBUnSCQn)
  2502. Box 2: (EEEHI…o ) [upper case i; one …; ends with space]
  2503. Box 3: (EEzP?n ) [ends with two spaces]
  2504. Box 4: (E,P?n ) [ends with three spaces]
  2505. Box 5: (yT?nlG?n) [lower case L]
  2506. Box 6: (EEE/F!q ) [ends with space]
  2507. Box 7: (E ) [ends with seven spaces]
  2508. Box 8: (E ) [ends with seven spaces]
  2509. Box 9: (z♀loy…Qn) [lower case L; one …]
  2510. Box 10: (♀QnFGEn ) [ends with space]
  2511. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2512. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2513. Box 13: (qU?n…QRn) [one …]
  2514. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  2515. _______________________________
  2516. For English Ruby 1.1 and 1.2:
  2517. sbc r11,pc,EE00 E2CFBCEE %% R11=PC-EE00-1=20295EB
  2518. sbc r11,r11,3340 E2CBBDCD %% R11=R11-3340-1=20262AA+BA
  2519. -filler- BFBFBFFF
  2520. movs r12, AB00000 E3B0C6AB %% R12=AB00000
  2521. -filler- BFBFFF00
  2522. sbc r12,r12,2880000 E2CCC7A2 %% R12=R12-2880000-1=827FFFF
  2523. -filler- BFFF0000
  2524. sbc r12,r12,D9000 E2CCCAD9 %% R12=R12-D9000-1=81A6FFE
  2525. -filler- FF000000
  2526. sbc r12,r12,D2 E2CCC0D2 %% R12=R12-D2-1=81A6F2B
  2527. str r12 [r11, BA]! E5ABC0BA
  2528. -filler- 0000BFFF
  2529. -filler- 00000000
  2530. -filler- 00BFFF00
  2531. -filler- 00000000
  2532. -filler- BFFF0000
  2533. -filler- 00000000
  2534. -filler- FF000000
  2535. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2536. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2537. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2538. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2539. -filler- BFBFFF00
  2540. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2541. -filler- BFFF0000
  2542. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2543. -filler- FF000000
  2544. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  2545. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  2546. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  2547. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  2548.  
  2549. Box names:
  2550. Box 1: (zBUnSCQn)
  2551. Box 2: (EEE!L…o ) [one …; ends with space]
  2552. Box 3: (EElMRn ) [number one; ends with two spaces]
  2553. Box 4: (EePRn ) [ends with three spaces]
  2554. Box 5: (XFRn/F!q)
  2555. Box 6: (E ) [ends with seven spaces]
  2556. Box 7: (E ) [ends with seven spaces]
  2557. Box 8: (E ) [ends with seven spaces]
  2558. Box 9: (z♀loy…Qn) [lower case L; one …]
  2559. Box 10: (♀QnFGEn ) [ends with space]
  2560. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2561. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2562. Box 13: (qU?n…QRn) [one …]
  2563. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  2564. _______________________________
  2565. For English Sapphire 1.0:
  2566. sbc r11,pc,EE00 E2CFBCEE %% R11=PC-EE00-1=20295EB
  2567. sbc r11,r11,3340 E2CBBDCD %% R11=R11-3340-1=20262AA+BA
  2568. -filler- BFBFBFFF
  2569. movs r12, 8000003 E3B0C3C2 %% R12=8000003
  2570. -filler- BFBFFF00
  2571. adc r12,r12,EE000 E2ACCAEE %% R12=R12+EE000=80EE003
  2572. -filler- BFFF0000
  2573. adc r12,r12,B8000 E2ACCAB8 %% R12=R12+B8000=81A6003
  2574. -filler- FF000000
  2575. adc r12,r12,E60 E2ACCEE6 %% R12=R12+E60=81A6E63
  2576. adc r12,r12,38 E2ACC1E0 %% R12=R12+38=81A6E9B
  2577. -filler- BFBFBFFF
  2578. str r12 [r11, BA]! E5ABC0BA
  2579. -filler- 00BFFF00
  2580. -filler- 00000000
  2581. -filler- BFFF0000
  2582. -filler- 00000000
  2583. -filler- FF000000
  2584. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2585. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2586. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2587. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2588. -filler- BFBFFF00
  2589. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2590. -filler- BFFF0000
  2591. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2592. -filler- FF000000
  2593. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  2594. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  2595. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  2596. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  2597.  
  2598. Box names:
  2599. Box 1: (zBUnSCQn)
  2600. Box 2: (EEEHI…o ) [upper case i; one …; ends with space]
  2601. Box 3: (EEzP?n ) [ends with two spaces]
  2602. Box 4: (E,P?n ) [ends with three spaces]
  2603. Box 5: (rT?nlG?n) [lower case L]
  2604. Box 6: (EEE/F!q ) [ends with space]
  2605. Box 7: (E ) [ends with seven spaces]
  2606. Box 8: (E ) [ends with seven spaces]
  2607. Box 9: (z♀loy…Qn) [lower case L; one …]
  2608. Box 10: (♀QnFGEn ) [ends with space]
  2609. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2610. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2611. Box 13: (qU?n…QRn) [one …]
  2612. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  2613. _______________________________
  2614. For English Sapphire 1.1 and 1.2:
  2615. sbc r11,pc,EE00 E2CFBCEE %% R11=PC-EE00-1=20295EB
  2616. sbc r11,r11,3340 E2CBBDCD %% R11=R11-3340-1=20262AA+BA
  2617. -filler- BFBFBFFF
  2618. movs r12, 8000003 E3B0C3C2 %% R12=8000003
  2619. -filler- BFBFFF00
  2620. adc r12,r12,EE000 E2ACCAEE %% R12=R12+EE000=80EE003
  2621. -filler- BFFF0000
  2622. adc r12,r12,B8000 E2ACCAB8 %% R12=R12+B8000=81A6003
  2623. -filler- FF000000
  2624. adc r12,r12,E80 E2ACCEE8 %% R12=R12+E80=81A6E83
  2625. adc r12,r12,38 E2ACC1E0 %% R12=R12+38=81A6EBB
  2626. -filler- BFBFBFFF
  2627. str r12 [r11, BA]! E5ABC0BA
  2628. -filler- 00BFFF00
  2629. -filler- 00000000
  2630. -filler- BFFF0000
  2631. -filler- 00000000
  2632. -filler- FF000000
  2633. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2634. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2635. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2636. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2637. -filler- BFBFFF00
  2638. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2639. -filler- BFFF0000
  2640. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2641. -filler- FF000000
  2642. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  2643. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  2644. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  2645. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  2646.  
  2647. Box names:
  2648. Box 1: (zBUnSCQn)
  2649. Box 2: (EEEHI…o ) [upper case i; one …; ends with space]
  2650. Box 3: (EEzP?n ) [ends with two spaces]
  2651. Box 4: (E,P?n ) [ends with three spaces]
  2652. Box 5: (tT?nlG?n) [lower case L]
  2653. Box 6: (EEE/F!q ) [ends with space]
  2654. Box 7: (E ) [ends with seven spaces]
  2655. Box 8: (E ) [ends with seven spaces]
  2656. Box 9: (z♀loy…Qn) [lower case L; one …]
  2657. Box 10: (♀QnFGEn ) [ends with space]
  2658. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2659. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2660. Box 13: (qU?n…QRn) [one …]
  2661. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  2662. _______________________________
  2663. For Italian Ruby:
  2664. sbc r11,pc,EE00 E2CFBCEE %% R11=PC-EE00-1=20295EB
  2665. sbc r11,r11,3340 E2CBBDCD %% R11=R11-3340-1=20262AA+BA
  2666. -filler- BFBFBFFF
  2667. movs r12, 8000003 E3B0C3C2 %% R12=8000003
  2668. -filler- BFBFFF00
  2669. adc r12,r12,EE000 E2ACCAEE %% R12=R12+EE000=80EE003
  2670. -filler- BFFF0000
  2671. adc r12,r12,B6000 E2ACCAB6 %% R12=R12+B6000=81A4003
  2672. -filler- FF000000
  2673. adc r12,r12,3900 E2ACCDE4 %% R12=R12+3900=81A7903
  2674. adc r12,r12,DF E2ACC0DF %% R12=R12+DF=81A79E2
  2675. -filler- BFBFBFFF
  2676. str r12 [r11, BA]! E5ABC0BA
  2677. -filler- 00BFFF00
  2678. -filler- 00000000
  2679. -filler- BFFF0000
  2680. -filler- 00000000
  2681. -filler- FF000000
  2682. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2683. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2684. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2685. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2686. -filler- BFBFFF00
  2687. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2688. -filler- BFFF0000
  2689. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2690. -filler- FF000000
  2691. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  2692. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  2693. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  2694. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  2695.  
  2696. Box names:
  2697. Box 1: (zBUnSCQn)
  2698. Box 2: (EEEHI…o ) [upper case i; one …; ends with space]
  2699. Box 3: (EEzP?n ) [ends with two spaces]
  2700. Box 4: (E♀P?n ) [ends with three spaces]
  2701. Box 5: (pS?nkF?n)
  2702. Box 6: (EEE/F!q ) [ends with space]
  2703. Box 7: (E ) [ends with seven spaces]
  2704. Box 8: (E ) [ends with seven spaces]
  2705. Box 9: (z♀loy…Qn) [lower case L; one …]
  2706. Box 10: (♀QnFGEn ) [ends with space]
  2707. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2708. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2709. Box 13: (qU?n…QRn) [one …]
  2710. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  2711. _______________________________
  2712. For Italian Sapphire:
  2713. sbc r11,pc,EE00 E2CFBCEE %% R11=PC-EE00-1=20295EB
  2714. sbc r11,r11,3340 E2CBBDCD %% R11=R11-3340-1=20262AA+BA
  2715. -filler- BFBFBFFF
  2716. movs r12, 8000003 E3B0C3C2 %% R12=8000003
  2717. -filler- BFBFFF00
  2718. adc r12,r12,EE000 E2ACCAEE %% R12=R12+EE000=80EE003
  2719. -filler- BFFF0000
  2720. adc r12,r12,B6000 E2ACCAB6 %% R12=R12+B6000=81A4003
  2721. -filler- FF000000
  2722. adc r12,r12,3940 E2ACCDE5 %% R12=R12+3940=81A7943
  2723. adc r12,r12,2F E2ACC1BC %% R12=R12+2F=81A7972
  2724. -filler- BFBFBFFF
  2725. str r12 [r11, BA]! E5ABC0BA
  2726. -filler- 00BFFF00
  2727. -filler- 00000000
  2728. -filler- BFFF0000
  2729. -filler- 00000000
  2730. -filler- FF000000
  2731. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2732. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2733. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2734. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2735. -filler- BFBFFF00
  2736. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2737. -filler- BFFF0000
  2738. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2739. -filler- FF000000
  2740. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  2741. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  2742. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  2743. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  2744.  
  2745. Box names:
  2746. Box 1: (zBUnSCQn)
  2747. Box 2: (EEEHI…o ) [upper case i; one …; ends with space]
  2748. Box 3: (EEzP?n ) [ends with two spaces]
  2749. Box 4: (E♀P?n ) [ends with three spaces]
  2750. Box 5: (qS?nBG?n)
  2751. Box 6: (EEE/F!q ) [ends with space]
  2752. Box 7: (E ) [ends with seven spaces]
  2753. Box 8: (E ) [ends with seven spaces]
  2754. Box 9: (z♀loy…Qn) [lower case L; one …]
  2755. Box 10: (♀QnFGEn ) [ends with space]
  2756. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2757. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2758. Box 13: (qU?n…QRn) [one …]
  2759. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  2760. _______________________________
  2761. For Spanish Ruby:
  2762. sbc r11,pc,EE00 E2CFBCEE %% R11=PC-EE00-1=20295EB
  2763. sbc r11,r11,3340 E2CBBDCD %% R11=R11-3340-1=20262AA+BA
  2764. -filler- BFBFBFFF
  2765. movs r12, 40000028 E3B0C1A1 %% R12=40000028
  2766. -filler- BFBFFF00
  2767. sbc r12,r12,37400000 E2CCC5DD %% R12=R12-37400000-1=8C00027
  2768. -filler- BFFF0000
  2769. sbc r12,r12,A20000 E2CCC8A2 %% R12=R12-A20000-1=81E0026
  2770. -filler- FF000000
  2771. sbc r12,r12,35C00 E2CCCBD7 %% R12=R12-35C00-1=81AA425
  2772. str r12 [r11, BA]! E5ABC0BA
  2773. -filler- 0000BFFF
  2774. -filler- 00000000
  2775. -filler- 00BFFF00
  2776. -filler- 00000000
  2777. -filler- BFFF0000
  2778. -filler- 00000000
  2779. -filler- FF000000
  2780. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2781. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2782. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2783. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2784. -filler- BFBFFF00
  2785. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2786. -filler- BFFF0000
  2787. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2788. -filler- FF000000
  2789. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  2790. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  2791. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  2792. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  2793.  
  2794. Box names:
  2795. Box 1: (zBUnSCQn)
  2796. Box 2: (EEE0G…o ) [zero; one …; ends with space]
  2797. Box 3: (EEiKRn ) [ends with two spaces]
  2798. Box 4: (E1NRn ) [number one; ends with three spaces]
  2799. Box 5: (cQRn/F!q)
  2800. Box 6: (E ) [ends with seven spaces]
  2801. Box 7: (E ) [ends with seven spaces]
  2802. Box 8: (E ) [ends with seven spaces]
  2803. Box 9: (z♀loy…Qn) [lower case L; one …]
  2804. Box 10: (♀QnFGEn ) [ends with space]
  2805. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2806. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2807. Box 13: (qU?n…QRn) [one …]
  2808. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  2809. _______________________________
  2810. For Spanish Sapphire:
  2811. sbc r11,pc,EE00 E2CFBCEE %% R11=PC-EE00-1=20295EB
  2812. sbc r11,r11,3340 E2CBBDCD %% R11=R11-3340-1=20262AA+BA
  2813. -filler- BFBFBFFF
  2814. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2815. -filler- BFBFFF00
  2816. adc r12,r12,EE000 E2ACCAEE %% R12=R12+EE000=80EDFFD
  2817. -filler- BFFF0000
  2818. adc r12,r12,BC000 E2ACCABC %% R12=R12+BC000=81A9FFD
  2819. -filler- FF000000
  2820. adc r12,r12,3B8 E2ACCFEE %% R12=R12+3B8=81AA3B5
  2821. str r12 [r11, BA]! E5ABC0BA
  2822. -filler- BFBFBFFF
  2823. -filler- 00000000
  2824. -filler- 00BFFF00
  2825. -filler- 00000000
  2826. -filler- BFFF0000
  2827. -filler- 00000000
  2828. -filler- FF000000
  2829. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2830. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2831. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2832. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2833. -filler- BFBFFF00
  2834. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2835. -filler- BFFF0000
  2836. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2837. -filler- FF000000
  2838. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  2839. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  2840. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  2841. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  2842.  
  2843. Box names:
  2844. Box 1: (zBUnSCQn)
  2845. Box 2: (EEEDIlo ) [upper case i; lower case L; ends with space]
  2846. Box 3: (EEzP?n ) [ends with two spaces]
  2847. Box 4: (EBP?n ) [ends with three spaces]
  2848. Box 5: (zU?n/F!q)
  2849. Box 6: (EEE ) [ends with five spaces]
  2850. Box 7: (E ) [ends with seven spaces]
  2851. Box 8: (E ) [ends with seven spaces]
  2852. Box 9: (z♀loy…Qn) [lower case L; one …]
  2853. Box 10: (♀QnFGEn ) [ends with space]
  2854. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2855. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2856. Box 13: (qU?n…QRn) [one …]
  2857. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  2858. _______________________________
  2859. For German Ruby:
  2860. sbc r11,pc,EE00 E2CFBCEE %% R11=PC-EE00-1=20295EB
  2861. sbc r11,r11,3340 E2CBBDCD %% R11=R11-3340-1=20262AA+BA
  2862. -filler- BFBFBFFF
  2863. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2864. -filler- BFBFFF00
  2865. adc r12,r12,EE000 E2ACCAEE %% R12=R12+EE000=80EDFFD
  2866. -filler- BFFF0000
  2867. adc r12,r12,C1000 E2ACCAC1 %% R12=R12+C1000=81AEFFD
  2868. -filler- FF000000
  2869. adc r12,r12,A40 E2ACCEA4 %% R12=R12+A40=81AFA3D
  2870. str r12 [r11, BA]! E5ABC0BA
  2871. -filler- BFBFBFFF
  2872. -filler- 00000000
  2873. -filler- 00BFFF00
  2874. -filler- 00000000
  2875. -filler- BFFF0000
  2876. -filler- 00000000
  2877. -filler- FF000000
  2878. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2879. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2880. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2881. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2882. -filler- BFBFFF00
  2883. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2884. -filler- BFFF0000
  2885. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2886. -filler- FF000000
  2887. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  2888. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  2889. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  2890. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  2891.  
  2892. Box names:
  2893. Box 1: (zBUnSCQn)
  2894. Box 2: (EEEDIlo ) [upper case i; lower case L; ends with space]
  2895. Box 3: (EEzP?n ) [ends with two spaces]
  2896. Box 4: (EGP?n ) [ends with three spaces]
  2897. Box 5: (3T?n/F!q)
  2898. Box 6: (EEE ) [ends with five spaces]
  2899. Box 7: (E ) [ends with seven spaces]
  2900. Box 8: (E ) [ends with seven spaces]
  2901. Box 9: (z♀loy…Qn) [lower case L; one …]
  2902. Box 10: (♀QnFGEn ) [ends with space]
  2903. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2904. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2905. Box 13: (zU?n…QRn) [one …]
  2906. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  2907. _______________________________
  2908. For German Sapphire:
  2909. sbc r11,pc,EE00 E2CFBCEE %% R11=PC-EE00-1=20295EB
  2910. sbc r11,r11,3340 E2CBBDCD %% R11=R11-3340-1=20262AA+BA
  2911. -filler- BFBFBFFF
  2912. movs r12, 8000003 E3B0C3C2 %% R12=8000003
  2913. -filler- BFBFFF00
  2914. adc r12,r12,EE000 E2ACCAEE %% R12=R12+EE000=80EE003
  2915. -filler- BFFF0000
  2916. adc r12,r12,BF000 E2ACCABF %% R12=R12+BF000=81AD003
  2917. -filler- FF000000
  2918. adc r12,r12,29C0 E2ACCDA7 %% R12=R12+29C0=81AF9C3
  2919. adc r12,r12,E E2ACC2E0 %% R12=R12+E=81AF9D1
  2920. -filler- BFBFBFFF
  2921. str r12 [r11, BA]! E5ABC0BA
  2922. -filler- 00BFFF00
  2923. -filler- 00000000
  2924. -filler- BFFF0000
  2925. -filler- 00000000
  2926. -filler- FF000000
  2927. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2928. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2929. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2930. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2931. -filler- BFBFFF00
  2932. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2933. -filler- BFFF0000
  2934. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2935. -filler- FF000000
  2936. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  2937. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  2938. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  2939. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  2940.  
  2941. Box names:
  2942. Box 1: (zBUnSCQn)
  2943. Box 2: (EEEHI…o ) [upper case i; one …; ends with space]
  2944. Box 3: (EEzP?n ) [ends with two spaces]
  2945. Box 4: (EEP?n ) [ends with three spaces]
  2946. Box 5: (6S?nlH?n) [lower case L]
  2947. Box 6: (EEE/F!q ) [ends with space]
  2948. Box 7: (E ) [ends with seven spaces]
  2949. Box 8: (E ) [ends with seven spaces]
  2950. Box 9: (z♀loy…Qn) [lower case L; one …]
  2951. Box 10: (♀QnFGEn ) [ends with space]
  2952. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  2953. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  2954. Box 13: (zU?n…QRn) [one …]
  2955. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  2956. _______________________________
  2957. For French Ruby:
  2958. sbc r11,pc,EE00 E2CFBCEE %% R11=PC-EE00-1=20295EB
  2959. sbc r11,r11,3340 E2CBBDCD %% R11=R11-3340-1=20262AA+BA
  2960. -filler- BFBFBFFF
  2961. mvn r12, C000002E E3E0C1BB %% R12=notF8000002=7FFFFFD
  2962. -filler- BFBFFF00
  2963. sbc r12,r12,37400000 E2CCC5DD %% R12=R12-37400000-1=80EDFFD
  2964. -filler- BFFF0000
  2965. sbc r12,r12,A50000 E2CCC8A5 %% R12=R12-A50000-1=81AEFFD
  2966. -filler- FF000000
  2967. sbc r12,r12,3700 E2CCCDDC %% R12=R12-3700-1=81AFA3D
  2968. str r12 [r11, BA]! E5ABC0BA
  2969. -filler- BFBFBFFF
  2970. -filler- 00000000
  2971. -filler- 00BFFF00
  2972. -filler- 00000000
  2973. -filler- BFFF0000
  2974. -filler- 00000000
  2975. -filler- FF000000
  2976. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  2977. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  2978. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  2979. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  2980. -filler- BFBFFF00
  2981. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  2982. -filler- BFFF0000
  2983. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  2984. -filler- FF000000
  2985. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  2986. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  2987. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  2988. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  2989.  
  2990. Box names:
  2991. Box 1: (zBUnSCQn)
  2992. Box 2: (EEEAGlo ) [lower case L; ends with space]
  2993. Box 3: (EEiKRn ) [ends with two spaces]
  2994. Box 4: (E4NRn ) [ends with three spaces]
  2995. Box 5: (hSRn/F!q)
  2996. Box 6: (EEE ) [ends with five spaces]
  2997. Box 7: (E ) [ends with seven spaces]
  2998. Box 8: (E ) [ends with seven spaces]
  2999. Box 9: (z♀loy…Qn) [lower case L; one …]
  3000. Box 10: (♀QnFGEn ) [ends with space]
  3001. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3002. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3003. Box 13: (zU?n…QRn) [one …]
  3004. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  3005. _______________________________
  3006. For French Sapphire:
  3007. sbc r11,pc,EE00 E2CFBCEE %% R11=PC-EE00-1=20295EB
  3008. sbc r11,r11,3340 E2CBBDCD %% R11=R11-3340-1=20262AA+BA
  3009. -filler- BFBFBFFF
  3010. movs r12, 8000003 E3B0C3C2 %% R12=8000003
  3011. -filler- BFBFFF00
  3012. adc r12,r12,EE000 E2ACCAEE %% R12=R12+EE000=80EE003
  3013. -filler- BFFF0000
  3014. adc r12,r12,BB000 E2ACCABB %% R12=R12+BB000=81AD003
  3015. -filler- FF000000
  3016. adc r12,r12,3780 E2ACCDDE %% R12=R12+3780=81AF9C3
  3017. adc r12,r12,DB E2ACC0DB %% R12=R12+DB=81AF9D1
  3018. -filler- BFBFBFFF
  3019. str r12 [r11, BA]! E5ABC0BA
  3020. -filler- 00BFFF00
  3021. -filler- 00000000
  3022. -filler- BFFF0000
  3023. -filler- 00000000
  3024. -filler- FF000000
  3025. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3026. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3027. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3028. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3029. -filler- BFBFFF00
  3030. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3031. -filler- BFFF0000
  3032. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3033. -filler- FF000000
  3034. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  3035. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  3036. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  3037. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  3038.  
  3039. Box names:
  3040. Box 1: (zBUnSCQn)
  3041. Box 2: (EEEHI…o ) [upper case i; one …; ends with space]
  3042. Box 3: (EEzP?n ) [ends with two spaces]
  3043. Box 4: (EAP?n ) [ends with three spaces]
  3044. Box 5: (jS?ngF?n)
  3045. Box 6: (EEE/F!q ) [ends with space]
  3046. Box 7: (E ) [ends with seven spaces]
  3047. Box 8: (E ) [ends with seven spaces]
  3048. Box 9: (z♀loy…Qn) [lower case L; one …]
  3049. Box 10: (♀QnFGEn ) [ends with space]
  3050. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3051. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3052. Box 13: (zU?n…QRn) [one …]
  3053. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  3054. ____________________________
  3055. For Japanese Ruby:
  3056. mov r1,pc 4679 %% R1=PC+4=2038104
  3057. ldr r0 pc+18 4806 %% R0=12040
  3058. sub r1,r1,r0 1A09 %% R1=R1-R0=20266BE
  3059. ldr r0 pc+20 4808 %% R0=8184DC0
  3060. -filler- 00FF
  3061. str r0,[r1] 6008
  3062. ldr r0 pc+14 4805 %% R0=80111B6
  3063. b pc,4 E000 %% Skip bad filler
  3064. -bad filler- FF00
  3065. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  3066. bx r0 4700
  3067. -filler- 0000
  3068. -filler- 0000
  3069. -filler- 00FF
  3070. -data- 2040
  3071. -data- 0001
  3072. -filler- 0000
  3073. -filler- FF00
  3074. -data- 11B6
  3075. -data- 0801
  3076. -data- 4DC0
  3077. -data- 0818
  3078.  
  3079. Box names:
  3080. Box 1: (ルばかぶけはくぶ)
  3081. Box 2: ( くタおぶ l ) [starts with space; お not ぉ; one space after ぶ; lower case L; ends with space]
  3082. Box 3: (こェうぶFふ び) [ェ not エ; う not ぅ; one space after ふ]
  3083. Box 4: (Fふ び ) [one space after ふ; ends with four spaces]
  3084. Box 5: ( ぞみあ ) [starts with space; あ not ぁ; ends with four spaces]
  3085. Box 6: (♀ちあくFぷのく) [あ not ぁ]
  3086. Box 7 onwards: Anything
  3087. ____________________________
  3088. For Japanese Sapphire:
  3089. mov r1,pc 4679 %% R1=PC+4=2038104
  3090. ldr r0 pc+18 4806 %% R0=12040
  3091. sub r1,r1,r0 1A09 %% R1=R1-R0=20266BE
  3092. ldr r0 pc+20 4808 %% R0=8184D50
  3093. -filler- 00FF
  3094. str r0,[r1] 6008
  3095. ldr r0 pc+14 4805 %% R0=80111B6
  3096. b pc,4 E000 %% Skip bad filler
  3097. -bad filler- FF00
  3098. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  3099. bx r0 4700
  3100. -filler- 0000
  3101. -filler- 0000
  3102. -filler- 00FF
  3103. -data- 2040
  3104. -data- 0001
  3105. -filler- 0000
  3106. -filler- FF00
  3107. -data- 11B6
  3108. -data- 0801
  3109. -data- 4D50
  3110. -data- 0818
  3111.  
  3112. Box names:
  3113. Box 1: (ルばかぶけはくぶ)
  3114. Box 2: ( くタおぶ l ) [starts with space; お not ぉ; one space after ぶ; lower case L; ends with space]
  3115. Box 3: (こェうぶFふ び) [ェ not エ; う not ぅ; one space after ふ]
  3116. Box 4: (Fふ び ) [one space after ふ; ends with four spaces]
  3117. Box 5: ( ぞみあ ) [starts with space; あ not ぁ; ends with four spaces]
  3118. Box 6: (♀ちあくっぷのく) [あ not ぁ; っ not つ]
  3119. Box 7 onwards: Anything
  3120. _______________________________________________________________________________________________________________________________________
  3121.  
  3122.  
  3123. -Make gift Beldum reappear:
  3124. Note: after executing this code the Pokéball containing Beldum in Steven's house will reappear. Executing this code while the ball is already available will have no effect and should not be done since there would be no way to check if the code worked properly
  3125. _______________________________
  3126. For English versions:
  3127. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  3128. movs r11,31C E3B0BFC7 %% R11=31C
  3129. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  3130. adc r0,r11,E9 E2AB00E4 %% R0=R11+E4=400
  3131. -filler- BFBFFF00
  3132. ldrh r12 [r10, 4E] E1DAC4BE %% Load Beldum halfword in R12
  3133. -filler- BFFF0000
  3134. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new Beldum halfword
  3135. -filler- FF000000
  3136. strh r12 [r10, 4E] E1CAC4BE %% Store back new Beldum halfword
  3137. -filler- 00000000
  3138. -filler- BFBFBFFF
  3139. -filler- BFBFBFBF
  3140. -filler- BFBFFFBF
  3141. -filler- BFBFBFBF
  3142. -filler- BFFFBFBF
  3143. -filler- BFBFBFBF
  3144. -filler- FFBFBFBF
  3145. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3146. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3147. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3148. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3149. -filler- BFBFFF00
  3150. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3151. -filler- BFFF0000
  3152. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3153. -filler- FF000000
  3154. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  3155. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  3156. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  3157. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  3158.  
  3159. Box names:
  3160. Box 1: (g?UnME…o) [one …]
  3161. Box 2: (.Pnp !n ) [one space after p; ends with space]
  3162. Box 3: (EEDJfm ) [ends with two spaces]
  3163. Box 4: (E FRm ) [one space after E; ends with three spaces]
  3164. Box 5: (DJPm ) [ends with four spaces]
  3165. Box 6: (EEEEEEEE)
  3166. Box 7: (EEEEEEEE)
  3167. Box 8: (EEEEEEEE)
  3168. Box 9: (z♀loy…Qn) [lower case L; one …]
  3169. Box 10: (♀QnFGEn ) [ends with space]
  3170. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3171. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3172. Box 13: (qU?n…QRn) [one …]
  3173. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  3174. _______________________________
  3175. For Italian and Spanish versions:
  3176. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  3177. movs r11,31C E3B0BFC7 %% R11=31C
  3178. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  3179. adc r0,r11,E9 E2AB00E4 %% R0=R11+E4=400
  3180. -filler- BFBFFF00
  3181. ldrh r12 [r10, 4E] E1DAC4BE %% Load Beldum halfword in R12
  3182. -filler- BFFF0000
  3183. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new Beldum halfword
  3184. -filler- FF000000
  3185. strh r12 [r10, 4E] E1CAC4BE %% Store back new Beldum halfword
  3186. -filler- 00000000
  3187. -filler- BFBFBFFF
  3188. -filler- BFBFBFBF
  3189. -filler- BFBFFFBF
  3190. -filler- BFBFBFBF
  3191. -filler- BFFFBFBF
  3192. -filler- BFBFBFBF
  3193. -filler- FFBFBFBF
  3194. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3195. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3196. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3197. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3198. -filler- BFBFFF00
  3199. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3200. -filler- BFFF0000
  3201. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3202. -filler- FF000000
  3203. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  3204. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  3205. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  3206. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  3207.  
  3208. Box names:
  3209. Box 1: (g?UnME…o) [one …]
  3210. Box 2: (.Pnp !n ) [one space after p; ends with space]
  3211. Box 3: (EEDJfm ) [ends with two spaces]
  3212. Box 4: (E FRm ) [one space after E; ends with three spaces]
  3213. Box 5: (DJPm ) [ends with four spaces]
  3214. Box 6: (EEEEEEEE)
  3215. Box 7: (EEEEEEEE)
  3216. Box 8: (EEEEEEEE)
  3217. Box 9: (z♀loy…Qn) [lower case L; one …]
  3218. Box 10: (♀QnFGEn ) [ends with space]
  3219. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3220. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3221. Box 13: (qU?n…QRn) [one …]
  3222. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  3223. _______________________________
  3224. For German and French versions:
  3225. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  3226. movs r11,31C E3B0BFC7 %% R11=31C
  3227. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  3228. adc r0,r11,E9 E2AB00E4 %% R0=R11+E4=400
  3229. -filler- BFBFFF00
  3230. ldrh r12 [r10, 4E] E1DAC4BE %% Load Beldum halfword in R12
  3231. -filler- BFFF0000
  3232. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new Beldum halfword
  3233. -filler- FF000000
  3234. strh r12 [r10, 4E] E1CAC4BE %% Store back new Beldum halfword
  3235. -filler- 00000000
  3236. -filler- BFBFBFFF
  3237. -filler- BFBFBFBF
  3238. -filler- BFBFFFBF
  3239. -filler- BFBFBFBF
  3240. -filler- BFFFBFBF
  3241. -filler- BFBFBFBF
  3242. -filler- FFBFBFBF
  3243. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3244. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3245. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3246. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3247. -filler- BFBFFF00
  3248. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3249. -filler- BFFF0000
  3250. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3251. -filler- FF000000
  3252. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  3253. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  3254. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  3255. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  3256.  
  3257. Box names:
  3258. Box 1: (g?UnME…o) [one …]
  3259. Box 2: (.Pnp !n ) [one space after p; ends with space]
  3260. Box 3: (EEDJfm ) [ends with two spaces]
  3261. Box 4: (E FRm ) [one space after E; ends with three spaces]
  3262. Box 5: (DJPm ) [ends with four spaces]
  3263. Box 6: (EEEEEEEE)
  3264. Box 7: (EEEEEEEE)
  3265. Box 8: (EEEEEEEE)
  3266. Box 9: (z♀loy…Qn) [lower case L; one …]
  3267. Box 10: (♀QnFGEn ) [ends with space]
  3268. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3269. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3270. Box 13: (zU?n…QRn) [one …]
  3271. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  3272. ____________________________
  3273. For Japanese versions:
  3274. mov r1,pc 4679 %% R1=PC+4=2038104
  3275. ldr r0 pc+18 4806 %% R0=11A2C
  3276. sub r1,r1,r0 1A09 %% R1=R1-R0=20266D4
  3277. ldr r0,pc+20 4808 %% R0=400
  3278. -filler- 00FF
  3279. ldrh r2,[r1] 880A %% Load target halfword in R2
  3280. bic r2,r2,r0 4382 %% R2=R2 and notR0=new halfword
  3281. b pc,4 E000 %% Skip bad filler
  3282. -bad filler- FF00
  3283. strh r2,[r1] 800A %% Store back new halfword
  3284. ldr r0 pc+C 4803 %% R0=80111B6
  3285. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  3286. bx r0 4700
  3287. -filler- 00FF
  3288. -data- 1A2C
  3289. -data- 0001
  3290. -filler- 0000
  3291. -filler- FF00
  3292. -data- 11B6
  3293. -data- 0801
  3294. -data- 0400
  3295. -data- 0000
  3296.  
  3297. Box names:
  3298. Box 1: (ルばかぶけはくぶ)
  3299. Box 2: ( こギェづ l ) [starts with space; ェ not エ; one space after づ; lower case L; ends with space]
  3300. Box 3: (こィうぶFふ び) [ィ not イ; う not ぅ; one space after ふ]
  3301. Box 4: ( わはあ ) [starts with space; あ not ぁ; ends with four spaces]
  3302. Box 5: (♀ちあく え ) [あ not ぁ; one space after く; え not ぇ; ends with two spaces]
  3303. Box 6 onwards: Anything
  3304. _______________________________________________________________________________________________________________________________________
  3305.  
  3306.  
  3307. -Make Wynaut egg reappear:
  3308. Note: after executing this code the old lady in Lavaridge City will give you the egg again. Executing this code while the egg is already available will have no effect and should not be done since there would be no way to check if the code worked properly
  3309. _______________________________
  3310. For English versions:
  3311. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  3312. movs r11,31C E3B0BFC7 %% R11=31C
  3313. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  3314. adc r0,r11,E9 E2AB00E4 %% R0=R11+E4=400
  3315. -filler- BFBFFF00
  3316. ldrh r12 [r10, 4A] E1DAC4BA %% Load egg's halfword in R12
  3317. -filler- BFFF0000
  3318. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new egg's halfword
  3319. -filler- FF000000
  3320. strh r12 [r10, 4A] E1CAC4BA %% Store back new egg's halfword
  3321. -filler- 00000000
  3322. -filler- BFBFBFFF
  3323. -filler- BFBFBFBF
  3324. -filler- BFBFFFBF
  3325. -filler- BFBFBFBF
  3326. -filler- BFFFBFBF
  3327. -filler- BFBFBFBF
  3328. -filler- FFBFBFBF
  3329. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3330. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3331. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3332. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3333. -filler- BFBFFF00
  3334. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3335. -filler- BFFF0000
  3336. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3337. -filler- FF000000
  3338. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  3339. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  3340. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  3341. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  3342.  
  3343. Box names:
  3344. Box 1: (g?UnME…o) [one …]
  3345. Box 2: (.Pnp !n ) [one space after p; ends with space]
  3346. Box 3: (EE/Jfm ) [ends with two spaces]
  3347. Box 4: (E FRm ) [one space after E; ends with three spaces]
  3348. Box 5: (/JPm ) [ends with four spaces]
  3349. Box 6: (EEEEEEEE)
  3350. Box 7: (EEEEEEEE)
  3351. Box 8: (EEEEEEEE)
  3352. Box 9: (z♀loy…Qn) [lower case L; one …]
  3353. Box 10: (♀QnFGEn ) [ends with space]
  3354. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3355. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3356. Box 13: (qU?n…QRn) [one …]
  3357. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  3358. _______________________________
  3359. For Italian and Spanish versions:
  3360. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  3361. movs r11,31C E3B0BFC7 %% R11=31C
  3362. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  3363. adc r0,r11,E9 E2AB00E4 %% R0=R11+E4=400
  3364. -filler- BFBFFF00
  3365. ldrh r12 [r10, 4A] E1DAC4BA %% Load egg's halfword in R12
  3366. -filler- BFFF0000
  3367. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new egg's halfword
  3368. -filler- FF000000
  3369. strh r12 [r10, 4A] E1CAC4BA %% Store back new egg's halfword
  3370. -filler- 00000000
  3371. -filler- BFBFBFFF
  3372. -filler- BFBFBFBF
  3373. -filler- BFBFFFBF
  3374. -filler- BFBFBFBF
  3375. -filler- BFFFBFBF
  3376. -filler- BFBFBFBF
  3377. -filler- FFBFBFBF
  3378. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3379. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3380. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3381. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3382. -filler- BFBFFF00
  3383. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3384. -filler- BFFF0000
  3385. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3386. -filler- FF000000
  3387. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  3388. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  3389. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  3390. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  3391.  
  3392. Box names:
  3393. Box 1: (g?UnME…o) [one …]
  3394. Box 2: (.Pnp !n ) [one space after p; ends with space]
  3395. Box 3: (EE/Jfm ) [ends with two spaces]
  3396. Box 4: (E FRm ) [one space after E; ends with three spaces]
  3397. Box 5: (/JPm ) [ends with four spaces]
  3398. Box 6: (EEEEEEEE)
  3399. Box 7: (EEEEEEEE)
  3400. Box 8: (EEEEEEEE)
  3401. Box 9: (z♀loy…Qn) [lower case L; one …]
  3402. Box 10: (♀QnFGEn ) [ends with space]
  3403. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3404. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3405. Box 13: (qU?n…QRn) [one …]
  3406. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  3407. _______________________________
  3408. For German and French versions:
  3409. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  3410. movs r11,31C E3B0BFC7 %% R11=31C
  3411. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  3412. adc r0,r11,E9 E2AB00E4 %% R0=R11+E4=400
  3413. -filler- BFBFFF00
  3414. ldrh r12 [r10, 4A] E1DAC4BA %% Load egg's halfword in R12
  3415. -filler- BFFF0000
  3416. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new egg's halfword
  3417. -filler- FF000000
  3418. strh r12 [r10, 4A] E1CAC4BA %% Store back new egg's halfword
  3419. -filler- 00000000
  3420. -filler- BFBFBFFF
  3421. -filler- BFBFBFBF
  3422. -filler- BFBFFFBF
  3423. -filler- BFBFBFBF
  3424. -filler- BFFFBFBF
  3425. -filler- BFBFBFBF
  3426. -filler- FFBFBFBF
  3427. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3428. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3429. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3430. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3431. -filler- BFBFFF00
  3432. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3433. -filler- BFFF0000
  3434. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3435. -filler- FF000000
  3436. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  3437. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  3438. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  3439. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  3440.  
  3441. Box names:
  3442. Box 1: (g?UnME…o) [one …]
  3443. Box 2: (.Pnp !n ) [one space after p; ends with space]
  3444. Box 3: (EE/Jfm ) [ends with two spaces]
  3445. Box 4: (E FRm ) [one space after E; ends with three spaces]
  3446. Box 5: (/JPm ) [ends with four spaces]
  3447. Box 6: (EEEEEEEE)
  3448. Box 7: (EEEEEEEE)
  3449. Box 8: (EEEEEEEE)
  3450. Box 9: (z♀loy…Qn) [lower case L; one …]
  3451. Box 10: (♀QnFGEn ) [ends with space]
  3452. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3453. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3454. Box 13: (zU?n…QRn) [one …]
  3455. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  3456. ____________________________
  3457. For Japanese versions:
  3458. mov r1,pc 4679 %% R1=PC+4=2038104
  3459. ldr r0 pc+18 4806 %% R0=11A30
  3460. sub r1,r1,r0 1A09 %% R1=R1-R0=20266D4
  3461. ldr r0,pc+20 4808 %% R0=400
  3462. -filler- 00FF
  3463. ldrh r2,[r1] 880A %% Load target halfword in R2
  3464. bic r2,r2,r0 4382 %% R2=R2 and notR0=new halfword
  3465. b pc,4 E000 %% Skip bad filler
  3466. -bad filler- FF00
  3467. strh r2,[r1] 800A %% Store back new halfword
  3468. ldr r0 pc+C 4803 %% R0=80111B6
  3469. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  3470. bx r0 4700
  3471. -filler- 00FF
  3472. -data- 1A30
  3473. -data- 0001
  3474. -filler- 0000
  3475. -filler- FF00
  3476. -data- 11B6
  3477. -data- 0801
  3478. -data- 0400
  3479. -data- 0000
  3480.  
  3481. Box names:
  3482. Box 1: (ルばかぶけはくぶ)
  3483. Box 2: ( こギェづ l ) [starts with space; ェ not エ; one space after づ; lower case L; ends with space]
  3484. Box 3: (こィうぶFふ び) [ィ not イ; う not ぅ; one space after ふ]
  3485. Box 4: ( ぃはあ ) [starts with space; ぃ not い; あ not ぁ; ends with four spaces]
  3486. Box 5: (♀ちあく え ) [あ not ぁ; one space after く; え not ぇ; ends with two spaces]
  3487. Box 6 onwards: Anything
  3488. _______________________________________________________________________________________________________________________________________
  3489.  
  3490.  
  3491. -Make the two fossils reappear:
  3492. Note: this code will make both the fossils reappear if you already picked up. You should not use this code if the fossils are present since you'll not be able to check if the code worked properly
  3493. _______________________________
  3494. For English versions:
  3495. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  3496. movs r11,EE E3B0B0EE %% R11=EE
  3497. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  3498. sbc r0,r11,D5 E2CB00D5 %% R0=R11-D5-1=18
  3499. -filler- BFBFFF00
  3500. ldrh r12 [r10, A2] E1DACAB2 %% Load fossils's halfword in R12
  3501. -filler- BFFF0000
  3502. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new fossils's halfword
  3503. -filler- FF000000
  3504. strh r12 [r10, A2] E1CACAB2 %% Store back new fossils's halfword
  3505. -filler- 00000000
  3506. -filler- BFBFBFFF
  3507. -filler- BFBFBFBF
  3508. -filler- BFBFFFBF
  3509. -filler- BFBFBFBF
  3510. -filler- BFFFBFBF
  3511. -filler- BFBFBFBF
  3512. -filler- FFBFBFBF
  3513. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3514. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3515. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3516. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3517. -filler- BFBFFF00
  3518. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3519. -filler- BFFF0000
  3520. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3521. -filler- FF000000
  3522. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  3523. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  3524. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  3525. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  3526.  
  3527. Box names:
  3528. Box 1: (g?Unz……o) [two …]
  3529. Box 2: (.Pna Qn ) [one space after a; ends with space]
  3530. Box 3: (EE"Pfm ) [righty "; ends with two spaces]
  3531. Box 4: (E FRm ) [one space after E; ends with three spaces]
  3532. Box 5: ("PPm ) [righty "; ends with four spaces]
  3533. Box 6: (EEEEEEEE)
  3534. Box 7: (EEEEEEEE)
  3535. Box 8: (EEEEEEEE)
  3536. Box 9: (z♀loy…Qn) [lower case L; one …]
  3537. Box 10: (♀QnFGEn ) [ends with space]
  3538. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3539. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3540. Box 13: (qU?n…QRn) [one …]
  3541. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  3542. _______________________________
  3543. For Italian and Spanish versions:
  3544. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  3545. movs r11,EE E3B0B0EE %% R11=EE
  3546. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  3547. sbc r0,r11,D5 E2CB00D5 %% R0=R11-D5-1=18
  3548. -filler- BFBFFF00
  3549. ldrh r12 [r10, A2] E1DACAB2 %% Load fossils's halfword in R12
  3550. -filler- BFFF0000
  3551. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new fossils's halfword
  3552. -filler- FF000000
  3553. strh r12 [r10, A2] E1CACAB2 %% Store back new fossils's halfword
  3554. -filler- 00000000
  3555. -filler- BFBFBFFF
  3556. -filler- BFBFBFBF
  3557. -filler- BFBFFFBF
  3558. -filler- BFBFBFBF
  3559. -filler- BFFFBFBF
  3560. -filler- BFBFBFBF
  3561. -filler- FFBFBFBF
  3562. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3563. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3564. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3565. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3566. -filler- BFBFFF00
  3567. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3568. -filler- BFFF0000
  3569. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3570. -filler- FF000000
  3571. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  3572. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  3573. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  3574. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  3575.  
  3576. Box names:
  3577. Box 1: (g?Unz……o) [two …]
  3578. Box 2: (.Pna Qn ) [one space after a; ends with space]
  3579. Box 3: (EE"Pfm ) [righty "; ends with two spaces]
  3580. Box 4: (E FRm ) [one space after E; ends with three spaces]
  3581. Box 5: ("PPm ) [righty "; ends with four spaces]
  3582. Box 6: (EEEEEEEE)
  3583. Box 7: (EEEEEEEE)
  3584. Box 8: (EEEEEEEE)
  3585. Box 9: (z♀loy…Qn) [lower case L; one …]
  3586. Box 10: (♀QnFGEn ) [ends with space]
  3587. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3588. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3589. Box 13: (qU?n…QRn) [one …]
  3590. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  3591. _______________________________
  3592. For German and French versions:
  3593. sbc r10,pc,DB00 E2CFACDB %% R10=PC-DB00-1=202A8EB
  3594. movs r11,EE E3B0B0EE %% R11=EE
  3595. sbc r10,r10,3FC0 E2CAADFF %% R10=R10-3FC0-1=202692A
  3596. sbc r0,r11,D5 E2CB00D5 %% R0=R11-D5-1=18
  3597. -filler- BFBFFF00
  3598. ldrh r12 [r10, A2] E1DACAB2 %% Load fossils's halfword in R12
  3599. -filler- BFFF0000
  3600. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new fossils's halfword
  3601. -filler- FF000000
  3602. strh r12 [r10, A2] E1CACAB2 %% Store back new fossils's halfword
  3603. -filler- 00000000
  3604. -filler- BFBFBFFF
  3605. -filler- BFBFBFBF
  3606. -filler- BFBFFFBF
  3607. -filler- BFBFBFBF
  3608. -filler- BFFFBFBF
  3609. -filler- BFBFBFBF
  3610. -filler- FFBFBFBF
  3611. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3612. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3613. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3614. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3615. -filler- BFBFFF00
  3616. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3617. -filler- BFFF0000
  3618. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3619. -filler- FF000000
  3620. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  3621. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  3622. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  3623. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  3624.  
  3625. Box names:
  3626. Box 1: (g?Unz……o) [two …]
  3627. Box 2: (.Pna Qn ) [one space after a; ends with space]
  3628. Box 3: (EE"Pfm ) [righty "; ends with two spaces]
  3629. Box 4: (E FRm ) [one space after E; ends with three spaces]
  3630. Box 5: ("PPm ) [righty "; ends with four spaces]
  3631. Box 6: (EEEEEEEE)
  3632. Box 7: (EEEEEEEE)
  3633. Box 8: (EEEEEEEE)
  3634. Box 9: (z♀loy…Qn) [lower case L; one …]
  3635. Box 10: (♀QnFGEn ) [ends with space]
  3636. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3637. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3638. Box 13: (zU?n…QRn) [one …]
  3639. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  3640. ____________________________
  3641. For Japanese versions:
  3642. mov r1,pc 4679 %% R1=PC+4=2038104
  3643. ldr r0 pc+18 4806 %% R0=11A9D8
  3644. sub r1,r1,r0 1A09 %% R1=R1-R0=202672C
  3645. mov r0,18 2018 %% R0=18
  3646. -filler- 00FF
  3647. ldrh r2,[r1] 880A %% Load target halfword in R2
  3648. bic r2,r2,r0 4382 %% R2=R2 and notR0=new halfword
  3649. b pc,4 E000 %% Skip bad filler
  3650. -bad filler- FF00
  3651. strh r2,[r1] 800A %% Store back new halfword
  3652. ldr r0 pc+C 4803 %% R0=80111B6
  3653. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  3654. bx r0 4700
  3655. -filler- 00FF
  3656. -data- 19D8
  3657. -data- 0001
  3658. -filler- 0000
  3659. -filler- FF00
  3660. -data- 11B6
  3661. -data- 0801
  3662.  
  3663. Box names:
  3664. Box 1: (ルばかぶけはねみ)
  3665. Box 2: ( こギェづ l ) [starts with space; ェ not エ; one space after づ; lower case L; ends with space]
  3666. Box 3: (こィうぶFふ び) [ィ not イ; う not ぅ; one space after ふ]
  3667. Box 4: ( dのあ ) [starts with space; あ not ぁ; ends with four spaces]
  3668. Box 5: (♀ちあく ) [あ not ぁ; ends with four spaces]
  3669. Box 6 onwards: Anything
  3670. _______________________________________________________________________________________________________________________________________
  3671.  
  3672.  
  3673. -Allow a new distribution of Channel/Wishmaker Jirachi:
  3674. Note: this code will reset the received Channel or Wishmaker Jirachi flag so that you can transfer Jirachi from Channel/Colosseum more than once. Unluckily it will not be possible to check if the code worked properly without saving the game so pay really close attention when writing box names
  3675. _______________________________
  3676. For English versions:
  3677. sbc r11,pc,C100 E2CFBCC1 %% R11=PC-C100-1=202C2EB
  3678. sbc r11,r11,3B40 E2CBBDED %% R11=R11-3B40-1=20287EA
  3679. -filler- BFBFBFFF
  3680. movs r12,0 E3B0C000 %% R12=0
  3681. -filler- BFBFFF00
  3682. strb r12 [r11, BB] E5CBC0BB
  3683. -filler- BFFF0000
  3684. -filler- BFBFBFBF
  3685. -filler- FFBFBFBF
  3686. -filler- BFBFBFBF
  3687. -filler- BFBFBFBF
  3688. -filler- BFBFBFFF
  3689. -filler- BFBFBFBF
  3690. -filler- BFBFFFBF
  3691. -filler- BFBFBFBF
  3692. -filler- BFFFBFBF
  3693. -filler- BFBFBFBF
  3694. -filler- FFBFBFBF
  3695. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3696. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3697. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3698. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3699. -filler- BFBFFF00
  3700. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3701. -filler- BFFF0000
  3702. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3703. -filler- FF000000
  3704. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  3705. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  3706. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  3707. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  3708.  
  3709. Box names:
  3710. Box 1: (GBUnyCQn)
  3711. Box 2: (EEE F…o ) [one space after E; one …; ends with space]
  3712. Box 3: (EEAFQq ) [ends with two spaces]
  3713. Box 4: (EEEEEEEE)
  3714. Box 5: (EEEEEEEE)
  3715. Box 6: (EEEEEEEE)
  3716. Box 7: (EEEEEEEE)
  3717. Box 8: (EEEEEEEE)
  3718. Box 9: (z♀loy…Qn) [lower case L; one …]
  3719. Box 10: (♀QnFGEn ) [ends with space]
  3720. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3721. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3722. Box 13: (qU?n…QRn) [one …]
  3723. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  3724. _______________________________
  3725. For Italian and Spanish versions:
  3726. sbc r11,pc,C100 E2CFBCC1 %% R11=PC-C100-1=202C2EB
  3727. sbc r11,r11,3B40 E2CBBDED %% R11=R11-3B40-1=20287EA
  3728. -filler- BFBFBFFF
  3729. movs r12,0 E3B0C000 %% R12=0
  3730. -filler- BFBFFF00
  3731. strb r12 [r11, BB] E5CBC0BB
  3732. -filler- BFFF0000
  3733. -filler- BFBFBFBF
  3734. -filler- FFBFBFBF
  3735. -filler- BFBFBFBF
  3736. -filler- BFBFBFBF
  3737. -filler- BFBFBFFF
  3738. -filler- BFBFBFBF
  3739. -filler- BFBFFFBF
  3740. -filler- BFBFBFBF
  3741. -filler- BFFFBFBF
  3742. -filler- BFBFBFBF
  3743. -filler- FFBFBFBF
  3744. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3745. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3746. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3747. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3748. -filler- BFBFFF00
  3749. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3750. -filler- BFFF0000
  3751. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3752. -filler- FF000000
  3753. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  3754. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  3755. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  3756. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  3757.  
  3758. Box names:
  3759. Box 1: (GBUnyCQn)
  3760. Box 2: (EEE F…o ) [one space after E; one …; ends with space]
  3761. Box 3: (EEAFQq ) [ends with two spaces]
  3762. Box 4: (EEEEEEEE)
  3763. Box 5: (EEEEEEEE)
  3764. Box 6: (EEEEEEEE)
  3765. Box 7: (EEEEEEEE)
  3766. Box 8: (EEEEEEEE)
  3767. Box 9: (z♀loy…Qn) [lower case L; one …]
  3768. Box 10: (♀QnFGEn ) [ends with space]
  3769. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3770. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3771. Box 13: (qU?n…QRn) [one …]
  3772. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  3773. _______________________________
  3774. For German and French versions:
  3775. sbc r11,pc,C100 E2CFBCC1 %% R11=PC-C100-1=202C2EB
  3776. sbc r11,r11,3B40 E2CBBDED %% R11=R11-3B40-1=20287EA
  3777. -filler- BFBFBFFF
  3778. movs r12,0 E3B0C000 %% R12=0
  3779. -filler- BFBFFF00
  3780. strb r12 [r11, BB] E5CBC0BB
  3781. -filler- BFFF0000
  3782. -filler- BFBFBFBF
  3783. -filler- FFBFBFBF
  3784. -filler- BFBFBFBF
  3785. -filler- BFBFBFBF
  3786. -filler- BFBFBFFF
  3787. -filler- BFBFBFBF
  3788. -filler- BFBFFFBF
  3789. -filler- BFBFBFBF
  3790. -filler- BFFFBFBF
  3791. -filler- BFBFBFBF
  3792. -filler- FFBFBFBF
  3793. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3794. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3795. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3796. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3797. -filler- BFBFFF00
  3798. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3799. -filler- BFFF0000
  3800. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3801. -filler- FF000000
  3802. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  3803. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  3804. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  3805. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  3806.  
  3807. Box names:
  3808. Box 1: (GBUnyCQn)
  3809. Box 2: (EEE F…o ) [one space after E; one …; ends with space]
  3810. Box 3: (EEAFQq ) [ends with two spaces]
  3811. Box 4: (EEEEEEEE)
  3812. Box 5: (EEEEEEEE)
  3813. Box 6: (EEEEEEEE)
  3814. Box 7: (EEEEEEEE)
  3815. Box 8: (EEEEEEEE)
  3816. Box 9: (z♀loy…Qn) [lower case L; one …]
  3817. Box 10: (♀QnFGEn ) [ends with space]
  3818. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3819. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3820. Box 13: (zU?n…QRn) [one …]
  3821. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  3822. ____________________________
  3823. For Japanese versions:
  3824. add r1,pc,3B8 A1EE %% R1=PC+3B8+4=20384BC
  3825. ldr r0 pc+18 4806 %% R0=10000
  3826. sub r1,r1,r0 1A09 %% R1=R1-R0=20284BC
  3827. add r1,r1,A 310A %% R1=R1+A=20284C6
  3828. add r1,r1,FF 31FF %% R1=R1+FF=20285C5=flag location
  3829. mov r0,0 2000 %% R0=0
  3830. strh r0,[r1] 8008 %% Store new quantity
  3831. b pc,4 E000 %% Skip bad filler
  3832. -bad filler- FF00
  3833. ldr r0 pc+10 4804 %% R0=80111B6
  3834. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  3835. bx r0 4700
  3836. -filler- 0000
  3837. -filler- 00FF
  3838. -data- 0000
  3839. -data- 0001
  3840. -filler- 0000
  3841. -filler- FF00
  3842. -data- 11B6
  3843. -data- 0801
  3844.  
  3845. Box names:
  3846. Box 1: (z0かぶけはこぃ) [zero; ぃ not い]
  3847. Box 2: (ぃ みくィ l ) [ぃ not い; one space after ぃ; ィ not イ; one space after ィ; lower case L; ends with space]
  3848. Box 3: (えぶFふ び ) [え not ぇ; one space after ふ; ends with four spaces]
  3849. Box 4: ( あ ) [starts with three spaces; あ not ぁ; ends with four spaces]
  3850. Box 5: (♀ちあく ) [あ not ぁ; ends with four spaces]
  3851. Box 6 onwards: Anything
  3852. _______________________________________________________________________________________________________________________________________
  3853.  
  3854.  
  3855. -Increase the amount of an item in PC storage:
  3856. Note: this code will set the amount of the first item in your PC storage to 65535. This can be useful to get an insane amount of an item you use really often (vitamines, rare candies, repels…). Put the item you want to duplicate in the first slot of the PC storage, then execute the code and check the quantity: it should look like this: "?35"
  3857. _______________________________
  3858. For English versions:
  3859. sbc r12,pc,E900 E2CFCCE9 %% R12=PC-E900-1=2029AEB
  3860. mvn r11, 0 E3E0B000 %% R11=not0=FFFFFFFF
  3861. sbc r12,r12,3FC0 E2CCCDFF %% R12=R12-3FC0-1=2025B2A
  3862. strh r11 [r12, A4] E1CCBAB4 %% Store new amount in item's amount location
  3863. -filler- BFBFFF00
  3864. -filler- BFBFBFBF
  3865. -filler- BFFFBFBF
  3866. -filler- BFBFBFBF
  3867. -filler- FFBFBFBF
  3868. -filler- BFBFBFBF
  3869. -filler- BFBFBFBF
  3870. -filler- BFBFBFFF
  3871. -filler- BFBFBFBF
  3872. -filler- BFBFFFBF
  3873. -filler- BFBFBFBF
  3874. -filler- BFFFBFBF
  3875. -filler- BFBFBFBF
  3876. -filler- FFBFBFBF
  3877. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3878. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3879. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3880. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3881. -filler- BFBFFF00
  3882. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3883. -filler- BFFF0000
  3884. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3885. -filler- FF000000
  3886. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  3887. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  3888. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  3889. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  3890.  
  3891. Box names:
  3892. Box 1: (uRUn …lo) [one space after n; one …; lower case L]
  3893. Box 2: (SRn'/Rm ) [righty '; ends with space]
  3894. Box 3: (EEEEEEEE)
  3895. Box 4: (EEEEEEEE)
  3896. Box 5: (EEEEEEEE)
  3897. Box 6: (EEEEEEEE)
  3898. Box 7: (EEEEEEEE)
  3899. Box 8: (EEEEEEEE)
  3900. Box 9: (z♀loy…Qn) [lower case L; one …]
  3901. Box 10: (♀QnFGEn ) [ends with space]
  3902. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3903. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3904. Box 13: (qU?n…QRn) [one …]
  3905. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  3906. _______________________________
  3907. For Italian and Spanish versions:
  3908. sbc r12,pc,E900 E2CFCCE9 %% R12=PC-E900-1=2029AEB
  3909. mvn r11, 0 E3E0B000 %% R11=not0=FFFFFFFF
  3910. sbc r12,r12,3FC0 E2CCCDFF %% R12=R12-3FC0-1=2025B2A
  3911. strh r11 [r12, A4] E1CCBAB4 %% Store new amount in item's amount location
  3912. -filler- BFBFFF00
  3913. -filler- BFBFBFBF
  3914. -filler- BFFFBFBF
  3915. -filler- BFBFBFBF
  3916. -filler- FFBFBFBF
  3917. -filler- BFBFBFBF
  3918. -filler- BFBFBFBF
  3919. -filler- BFBFBFFF
  3920. -filler- BFBFBFBF
  3921. -filler- BFBFFFBF
  3922. -filler- BFBFBFBF
  3923. -filler- BFFFBFBF
  3924. -filler- BFBFBFBF
  3925. -filler- FFBFBFBF
  3926. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3927. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3928. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3929. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3930. -filler- BFBFFF00
  3931. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3932. -filler- BFFF0000
  3933. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3934. -filler- FF000000
  3935. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  3936. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  3937. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  3938. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  3939.  
  3940. Box names:
  3941. Box 1: (uRUn …lo) [one space after n; one …; lower case L]
  3942. Box 2: (SRn'/Rm ) [righty '; ends with space]
  3943. Box 3: (EEEEEEEE)
  3944. Box 4: (EEEEEEEE)
  3945. Box 5: (EEEEEEEE)
  3946. Box 6: (EEEEEEEE)
  3947. Box 7: (EEEEEEEE)
  3948. Box 8: (EEEEEEEE)
  3949. Box 9: (z♀loy…Qn) [lower case L; one …]
  3950. Box 10: (♀QnFGEn ) [ends with space]
  3951. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  3952. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  3953. Box 13: (qU?n…QRn) [one …]
  3954. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  3955. _______________________________
  3956. For German and French versions:
  3957. sbc r12,pc,E900 E2CFCCE9 %% R12=PC-E900-1=2029AEB
  3958. mvn r11, 0 E3E0B000 %% R11=not0=FFFFFFFF
  3959. sbc r12,r12,3FC0 E2CCCDFF %% R12=R12-3FC0-1=2025B2A
  3960. strh r11 [r12, A4] E1CCBAB4 %% Store new amount in item's amount location
  3961. -filler- BFBFFF00
  3962. -filler- BFBFBFBF
  3963. -filler- BFFFBFBF
  3964. -filler- BFBFBFBF
  3965. -filler- FFBFBFBF
  3966. -filler- BFBFBFBF
  3967. -filler- BFBFBFBF
  3968. -filler- BFBFBFFF
  3969. -filler- BFBFBFBF
  3970. -filler- BFBFFFBF
  3971. -filler- BFBFBFBF
  3972. -filler- BFFFBFBF
  3973. -filler- BFBFBFBF
  3974. -filler- FFBFBFBF
  3975. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  3976. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  3977. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  3978. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  3979. -filler- BFBFFF00
  3980. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  3981. -filler- BFFF0000
  3982. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  3983. -filler- FF000000
  3984. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  3985. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  3986. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  3987. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  3988.  
  3989. Box names:
  3990. Box 1: (uRUn …lo) [one space after n; one …; lower case L]
  3991. Box 2: (SRn'/Rm ) [righty '; ends with space]
  3992. Box 3: (EEEEEEEE)
  3993. Box 4: (EEEEEEEE)
  3994. Box 5: (EEEEEEEE)
  3995. Box 6: (EEEEEEEE)
  3996. Box 7: (EEEEEEEE)
  3997. Box 8: (EEEEEEEE)
  3998. Box 9: (z♀loy…Qn) [lower case L; one …]
  3999. Box 10: (♀QnFGEn ) [ends with space]
  4000. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  4001. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  4002. Box 13: (zU?n…QRn) [one …]
  4003. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  4004. ____________________________
  4005. For Japanese versions:
  4006. mov r1,pc 4679 %% R1=PC+4=2038104
  4007. ldr r0 pc+20 4808 %% R0=127D6
  4008. sub r1,r1,r0 1A09 %% R1=R1-R0=itam quantity location
  4009. ldr r0 pc+8 4802 %% R0=1CC0FFFF=new quantity
  4010. -filler- 00FF
  4011. strh r0,[r1] 8008 %% Store new quantity
  4012. ldr r0 pc+C 4803 %% R0=80111B6
  4013. b pc,4 E000 %% Skip bad filler
  4014. -bad filler- FFFF
  4015. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  4016. bx r0 4700
  4017. -filler- 0000
  4018. -filler- 0000
  4019. -filler- 00FF
  4020. -data- 11B6
  4021. -data- 0801
  4022. -filler- 0000
  4023. -bad filler- FF00
  4024. -data- 27D6
  4025. -data- 0001
  4026.  
  4027. Box names:
  4028. Box 1: (ルばくぶけはいぶ) [い not ぃ]
  4029. Box 2: ( くィうぶ l) [starts with space; ィ not イ; う not ぅ; one space after ぶ; lower case L; leave the rest empty]
  4030. Box 3: (Fふ び ) [one space after ふ; ends with four spaces]
  4031. Box 4: ( ♀ちあく ) [starts with space; あ not ぁ; ends with three spaces]
  4032. Box 5: (bらあ ) [あ not ぁ; ends with five spaces]
  4033. Box 6 onwards: Anything
  4034. _______________________________________________________________________________________________________________________________________
  4035.  
  4036.  
  4037. -Increase the amount of all items in your PC storage:
  4038. Note: if code "Increase the amount of an item in PC storage" doesn't quench your thirst of items, this code will increase the amount of all the items you have in your PC storage (max 50) to 65535. Executing this code while having less than 30 items in your PC storage is safe
  4039. _______________________________
  4040. For English versions:
  4041. movs r10, AD000000 E3B0A4AD %% R10=AD000000
  4042. sbc r11,pc,E900 E2CFBCE9 %% R11=PC-E900-1=2029AEF
  4043. sbc r11,r11,3FC0 E2CBBDFF %% R11=R11-3FC0-1=2025B2E
  4044. mvn r12, 0 E3E0C000 %% R12=not0=FFFFFFFF
  4045. -filler- 0000FF00
  4046. adc r11, r11, C2 E2ABB0C2 %% R11=R11+C2+1=2025BF1
  4047. -filler- 00FF0000
  4048. sbc r11, r11, BF E2CBB0BF %% R11=R11-BF=2025B32
  4049. -filler- FF000000
  4050. strh r12 [r11, 9A] E1CBC9BA %% Store new amount in item's amount location
  4051. -filler- 00000000
  4052. -filler- 0000BFFF
  4053. -filler- 00000000
  4054. -filler- 0000FF00
  4055. sbcs r10, r10, EE0000 E2DAA8EE %% R10=R10-EE0000 (set flags)
  4056. -filler- 00FF0000
  4057. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  4058. -filler- FF000000
  4059. adc r12,r12 394 E2ACCFE5 %% R12=R12+394+1=8000392
  4060. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000=7FD4392
  4061. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00+1=8013F93
  4062. sbc r0,r12, E2 E2CC00E2 %% R0=R12-E2=08013EB1=ReturnFromBattleToOverworldENG
  4063. -filler- 0000FF00
  4064. mvn r12, E1 E3E0C0E1 %% R12=notE1=FFFFFF1E
  4065. ble ******** DAFFFFE9 %% PC=PC-5C
  4066. bic r12, r12, ED00000 E3CCC6ED %% R12=R12 and notED00000=F12FFF1E
  4067. -filler- FF000000
  4068. bic r11, r12, 1000000E E3CCB2E1 %% R11=R12 and not1000000E=E12FFF10
  4069. adcs r12, pc, 38 E2BFC1E0 %% R12=PC+38+1
  4070. -filler- 000000FF
  4071. strt r11, [r12]! E5ACB000
  4072.  
  4073. Box names:
  4074. Box 1: (.3…ouBUn) [one …]
  4075. Box 2: (CQn Flo ) [one space after n; lower case L; ends with space]
  4076. Box 3: ( H…!n ) [starts with two spaces; one …; ends with two spaces]
  4077. Box 4: ( E…Qn ) [starts with space; one …; ends with three spaces]
  4078. Box 5: (/OQm ) [upper case o; ends with four spaces]
  4079. Box 6: (E ) [ends with seven spaces]
  4080. Box 7: ( z7fn ) [starts with two spaces; ends with two spaces]
  4081. Box 8: ( DIlo ) [starts with space; upper case i; lower case l; ends with three spaces]
  4082. Box 9: (qU?n…QRn) [one …]
  4083. Box 10: (Q?nn Rn ) [one space after n; ends with space]
  4084. Box 11: ( mFlou) [starts with two spaces; lower case L; leave the last slot empty]
  4085. Box 12: (fyLRo ) [ends with three spaces]
  4086. Box 13: (m"RolGEn) [righty "; lower case L]
  4087. Box 14: ( …?q ) [starts with four spaces; one …; ends with one space]
  4088. _______________________________
  4089. For Italian and Spanish versions:
  4090. movs r10, AD000000 E3B0A4AD %% R10=AD000000
  4091. sbc r11,pc,E900 E2CFBCE9 %% R11=PC-E900-1=2029AEF
  4092. sbc r11,r11,3FC0 E2CBBDFF %% R11=R11-3FC0-1=2025B2E
  4093. mvn r12, 0 E3E0C000 %% R12=not0=FFFFFFFF
  4094. -filler- 0000FF00
  4095. adc r11, r11, C2 E2ABB0C2 %% R11=R11+C2+1=2025BF1
  4096. -filler- 00FF0000
  4097. sbc r11, r11, BF E2CBB0BF %% R11=R11-BF=2025B32
  4098. -filler- FF000000
  4099. strh r12 [r11, 9A] E1CBC9BA %% Store new amount in item's amount location
  4100. -filler- 00000000
  4101. -filler- 0000BFFF
  4102. -filler- 00000000
  4103. -filler- 0000FF00
  4104. sbcs r10, r10, EE0000 E2DAA8EE %% R10=R10-EE0000 (set flags)
  4105. -filler- 00FF0000
  4106. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  4107. -filler- FF000000
  4108. adc r12,r12 394 E2ACCFE5 %% R12=R12+394+1=8000392
  4109. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000=7FD4392
  4110. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00+1=8013F93
  4111. adc r0,r12, E9 E2AC00E9 %% R0=R12+E9+1=0801407D=ReturnFromBattleToOverworldITA_SPA
  4112. -filler- 0000FF00
  4113. mvn r12, E1 E3E0C0E1 %% R12=notE1=FFFFFF1E
  4114. ble ******** DAFFFFE9 %% PC=PC-5C
  4115. bic r12, r12, ED00000 E3CCC6ED %% R12=R12 and notED00000=F12FFF1E
  4116. -filler- FF000000
  4117. bic r11, r12, 1000000E E3CCB2E1 %% R11=R12 and not1000000E=E12FFF10
  4118. adcs r12, pc, 38 E2BFC1E0 %% R12=PC+38+1
  4119. -filler- 000000FF
  4120. strt r11, [r12]! E5ACB000
  4121.  
  4122. Box names:
  4123. Box 1: (.3…ouBUn) [one …]
  4124. Box 2: (CQn Flo ) [one space after n; lower case L; ends with space]
  4125. Box 3: ( H…!n ) [starts with two spaces; one …; ends with two spaces]
  4126. Box 4: ( E…Qn ) [starts with space; one …; ends with three spaces]
  4127. Box 5: (/OQm ) [upper case o; ends with four spaces]
  4128. Box 6: (E ) [ends with seven spaces]
  4129. Box 7: ( z7fn ) [starts with two spaces; ends with two spaces]
  4130. Box 8: ( DIlo ) [starts with space; upper case i; lower case l; ends with three spaces]
  4131. Box 9: (qU?n…QRn) [one …]
  4132. Box 10: (Q?nu ?n ) [one space after u; ends with space]
  4133. Box 11: ( mFlou) [starts with two spaces; lower case L; leave the last slot empty]
  4134. Box 12: (fyLRo ) [ends with three spaces]
  4135. Box 13: (m"RolGEn) [righty "; lower case L]
  4136. Box 14: ( …?q ) [starts with four spaces; one …; ends with one space]
  4137. _______________________________
  4138. For German and French versions:
  4139. movs r10, AD000000 E3B0A4AD %% R10=AD000000
  4140. sbc r11,pc,E900 E2CFBCE9 %% R11=PC-E900-1=2029AEF
  4141. sbc r11,r11,3FC0 E2CBBDFF %% R11=R11-3FC0-1=2025B2E
  4142. mvn r12, 0 E3E0C000 %% R12=not0=FFFFFFFF
  4143. -filler- 0000FF00
  4144. adc r11, r11, C2 E2ABB0C2 %% R11=R11+C2+1=2025BF1
  4145. -filler- 00FF0000
  4146. sbc r11, r11, BF E2CBB0BF %% R11=R11-BF=2025B32
  4147. -filler- FF000000
  4148. strh r12 [r11, 9A] E1CBC9BA %% Store new amount in item's amount location
  4149. -filler- 00000000
  4150. -filler- 0000BFFF
  4151. -filler- 00000000
  4152. -filler- 0000FF00
  4153. sbcs r10, r10, EE0000 E2DAA8EE %% R10=R10-EE0000 (set flags)
  4154. -filler- 00FF0000
  4155. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  4156. -filler- FF000000
  4157. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8+1=80003B6
  4158. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000=7FD43B6
  4159. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00+1=8013FB7
  4160. adc r0,r12, CD E2AC00CD %% R0=R12+CD+1=08014085=ReturnFromBattleToOverworldGER_FRA
  4161. -filler- 0000FF00
  4162. mvn r12, E1 E3E0C0E1 %% R12=notE1=FFFFFF1E
  4163. ble ******** DAFFFFE9 %% PC=PC-5C
  4164. bic r12, r12, ED00000 E3CCC6ED %% R12=R12 and notED00000=F12FFF1E
  4165. -filler- FF000000
  4166. bic r11, r12, 1000000E E3CCB2E1 %% R11=R12 and not1000000E=E12FFF10
  4167. adcs r12, pc, 38 E2BFC1E0 %% R12=PC+38+1
  4168. -filler- 000000FF
  4169. strt r11, [r12]! E5ACB000
  4170.  
  4171. Box names:
  4172. Box 1: (.3…ouBUn) [one …]
  4173. Box 2: (CQn Flo ) [one space after n; lower case L; ends with space]
  4174. Box 3: ( H…!n ) [starts with two spaces; one …; ends with two spaces]
  4175. Box 4: ( E…Qn ) [starts with space; one …; ends with three spaces]
  4176. Box 5: (/OQm ) [upper case o; ends with four spaces]
  4177. Box 6: (E ) [ends with seven spaces]
  4178. Box 7: ( z7fn ) [starts with two spaces; ends with two spaces]
  4179. Box 8: ( DIlo ) [starts with space; upper case i; lower case l; ends with three spaces]
  4180. Box 9: (zU?n…QRn) [one …]
  4181. Box 10: (Q?nS ?n ) [one space after S; ends with space]
  4182. Box 11: ( mFlou) [starts with two spaces; lower case L; leave the last slot empty]
  4183. Box 12: (fyLRo ) [ends with three spaces]
  4184. Box 13: (m"RolGEn) [righty "; lower case L]
  4185. Box 14: ( …?q ) [starts with four spaces; one …; ends with one space]
  4186. ____________________________
  4187. For Japanese versions:
  4188. mov r1,pc 4679 %% R1=PC+4
  4189. ldr r0,pc,2C 480B %% R0=127D6
  4190. sub r1,r1,r0 1A09 %% R1=R1-R0=starting position
  4191. ldr r0 [pc,8] 4802 %% R0=FFFF
  4192. -filler- 00FF
  4193. add r3,pc,8 A302 %% R3=PC+2+8 (sets loop_start)
  4194. mov r2,31 2231 %% R2=31 (defines number of iterations)
  4195. b pc,4 E000 %% Skip bad filler
  4196. -data- FFFF
  4197. -data- 0000
  4198. strh r0,[r1] 8008 %% Store new quantity (loop_start)
  4199. add r1,4 3104 %% R1=R1+4 (increments store address)
  4200. sub r2,1 3A01 %% R2=R2-1 (sets flags)
  4201. -filler- 4CFF
  4202. bmi pc,4 D400 %% Exits the loop after 31 iterations
  4203. mov pc,r3 469F %% Loops back to loop_start
  4204. b pc,4 E000 %% Skip bad filler
  4205. -bad filler- FF00
  4206. ldr r0 pc+10 4804 %% R0=80111B6
  4207. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  4208. bx r0 4700
  4209. -filler- 0000
  4210. -filler- 00FF
  4211. -filler- 0000
  4212. -data- 27D6
  4213. -data- 0001
  4214. -filler- FF00
  4215. -filler- 0000
  4216. -data- 11B6
  4217. -data- 0801
  4218.  
  4219. Box names:
  4220. Box 1 (ルばさぶけはいぶ) [い not ぃ]
  4221. Box 2 ( い2ぅめ l) [starts with space; い not ぃ; ぅ not う; one space after め; lower case L; leave the rest empty]
  4222. Box 3 ( くィえぅあげ) [starts with two spaces; え not ぇ; ぅ not う; あ not ぁ]
  4223. Box 4 (ぴ Zポば l ) [one space after ぴ; one space after め; lower case ば; ends with space]
  4224. Box 5 (えぶFふ び ) [え not ぇ; one space aftrer ふ; ends with two spaces]
  4225. Box 6 ( bらあ ) [starts with three spaces; あ not ぁ; ends with two spaces]
  4226. Box 7 ( ♀ちあく ) [starts with two spaces; あ not ぁ; ends with two spaces]
  4227. Box 8 onwards: Anything
  4228. _______________________________________________________________________________________________________________________________________
  4229.  
  4230.  
  4231. -Get a whole case of perfect Pokéblocks:
  4232. Note: after using this code you'll have 40 Pokéblocks with all the maximum stats possible (including feel). To check if the code work properly make sure that you actually have all the 40 Pokéblocks
  4233. _______________________________
  4234. For English versions:
  4235. movs r12,EE000000 E3B0A4EE %% R10=EE000000
  4236. sbc r11, pc,E600 E2CFBCE6 %% R11=PC-E600-1=2029DEF
  4237. sbc r11, r11,3FC0 E2CBBDFF %% R11=R11-3FC0-1=2025E2E
  4238. mvn r12, 0 E3E0C000 %% R12=not0=FFFFFFFF
  4239. -filler- 00BFFF00
  4240. -filler- 00000000
  4241. -filler- 00FF0000
  4242. -filler- 000000BF
  4243. -filler- FF000000
  4244. adc r11, r11,C0 E2ABB0C0 %% R11=R11+C0+1
  4245. sbc r11, r11,BF E2CBB0BF %% R11=R11-BF
  4246. -filler- 000000FF
  4247. strh r12 [r11, FA] E1CBCFBA
  4248. -filler- 0000FF00
  4249. sbcs r10, r10, B20000 E2DAA8B2 %% R10=R10-B20000 (set flags)
  4250. -filler- 00FF0000
  4251. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  4252. -filler- FF000000
  4253. adc r12,r12 394 E2ACCFE5 %% R12=R12+394+1=8000392
  4254. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000=7FD4392
  4255. adc r12,r12, 3FC00 E2ACCBFF %% R12=R12+3FC00+1=8013F93
  4256. sbc r0,r12, E2 E2CC00E2 %% R0=R12-E2=08013EB1=ReturnFromBattleToOverworldENG
  4257. -filler- 0000FF00
  4258. mvn r12, E1 E3E0C0E1 %% R12=notE1=FFFFFF1E
  4259. ble 020383F0 DAFFFFE9 %% PC=PC-54
  4260. bic r12, r12, ED00000 E3CCC6ED %% R12=R12 and notED00000=F12FFF1E
  4261. -filler- FF000000
  4262. bic r11, r12, 1000000E E3CCB2E1 %% R11=R12 and not1000000E=E12FFF10
  4263. adcs r12, pc, 38 E2BFC1E0 %% R12=PC+38+1
  4264. -filler- 000000FF
  4265. strt r11, [r12]! E5ACB000
  4266.  
  4267. Box names:
  4268. Box 1: (z3…orBUn) [one …]
  4269. Box 2: (CQn Flo ) [one space after n; lower case L; ends with space]
  4270. Box 3: (E ) [ends with seven spaces]
  4271. Box 4: ( E ) [starts with one space; ends with six spaces]
  4272. Box 5: (F…!nE…Qn) [one …; one …]
  4273. Box 6: ( /UQm ) [starts with three spaces; ends with space]
  4274. Box 7: ( "7fn ) [starts with two spaces; righty "; ends with two spaces]
  4275. Box 8: ( DIlo ) [starts with space; upper case i; lower case l; ends with three spaces]
  4276. Box 9: (qU?n…QRn) [one …]
  4277. Box 10: (Q?nn Rn ) [one space after n; ends with space]
  4278. Box 11: ( mFlou) [starts with two spaces; lower case L; leave the last slot empty]
  4279. Box 12: (fyLRo ) [ends with three spaces]
  4280. Box 13: (m"RolGEn) [righty "; lower case L]
  4281. Box 14: ( …?q ) [starts with four spaces; one …; ends with one space]
  4282. _______________________________
  4283. For Italian and Spanish versions:
  4284. movs r12,EE000000 E3B0A4EE %% R10=EE000000
  4285. sbc r11, pc,E600 E2CFBCE6 %% R11=PC-E600-1=2029DEF
  4286. sbc r11, r11,3FC0 E2CBBDFF %% R11=R11-3FC0-1=2025E2E
  4287. mvn r12, 0 E3E0C000 %% R12=not0=FFFFFFFF
  4288. -filler- 00BFFF00
  4289. -filler- 00000000
  4290. -filler- 00FF0000
  4291. -filler- 000000BF
  4292. -filler- FF000000
  4293. adc r11, r11,C0 E2ABB0C0 %% R11=R11+C0+1
  4294. sbc r11, r11,BF E2CBB0BF %% R11=R11-BF
  4295. -filler- 000000FF
  4296. strh r12 [r11, FA] E1CBCFBA
  4297. -filler- 0000FF00
  4298. sbcs r10, r10, B20000 E2DAA8B2 %% R10=R10-B20000 (set flags)
  4299. -filler- 00FF0000
  4300. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  4301. -filler- FF000000
  4302. adc r12,r12 394 E2ACCFE5 %% R12=R12+394+1=8000392
  4303. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000=7FD4392
  4304. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00+1=8013F93
  4305. adc r0,r12, E9 E2AC00E9 %% R0=R12+E9+1=0801407D=ReturnFromBattleToOverworldITA_SPA
  4306. -filler- 0000FF00
  4307. mvn r12, E1 E3E0C0E1 %% R12=notE1=FFFFFF1E
  4308. ble ******** DAFFFFE9 %% PC=PC-5C
  4309. bic r12, r12, ED00000 E3CCC6ED %% R12=R12 and notED00000=F12FFF1E
  4310. -filler- FF000000
  4311. bic r11, r12, 1000000E E3CCB2E1 %% R11=R12 and not1000000E=E12FFF10
  4312. adcs r12, pc, 38 E2BFC1E0 %% R12=PC+38+1
  4313. -filler- 000000FF
  4314. strt r11, [r12]! E5ACB000
  4315.  
  4316. Box names:
  4317. Box 1: (z3…orBUn) [one …]
  4318. Box 2: (CQn Flo ) [one space after n; lower case L; ends with space]
  4319. Box 3: (E ) [ends with seven spaces]
  4320. Box 4: ( E ) [starts with one space; ends with six spaces]
  4321. Box 5: (F…!nE…Qn) [one …; one …]
  4322. Box 6: ( /UQm ) [starts with three spaces; ends with space]
  4323. Box 7: ( "7fn ) [starts with two spaces; righty "; ends with two spaces]
  4324. Box 8: ( DIlo ) [starts with space; upper case i; lower case l; ends with three spaces]
  4325. Box 9: (qU?n…QRn) [one …]
  4326. Box 10: (Q?nu ?n ) [one space after u; ends with space]
  4327. Box 11: ( mFlou) [starts with two spaces; lower case L; leave the last slot empty]
  4328. Box 12: (fyLRo ) [ends with three spaces]
  4329. Box 13: (m"RolGEn) [righty "; lower case L]
  4330. Box 14: ( …?q ) [starts with four spaces; one …; ends with one space]
  4331. _______________________________
  4332. For German and French versions:
  4333. movs r12,EE000000 E3B0A4EE %% R10=EE000000
  4334. sbc r11, pc,E600 E2CFBCE6 %% R11=PC-E600-1=2029DEF
  4335. sbc r11, r11,3FC0 E2CBBDFF %% R11=R11-3FC0-1=2025E2E
  4336. mvn r12, 0 E3E0C000 %% R12=not0=FFFFFFFF
  4337. -filler- 00BFFF00
  4338. -filler- 00000000
  4339. -filler- 00FF0000
  4340. -filler- 000000BF
  4341. -filler- FF000000
  4342. adc r11, r11,C0 E2ABB0C0 %% R11=R11+C0+1
  4343. sbc r11, r11,BF E2CBB0BF %% R11=R11-BF
  4344. -filler- 000000FF
  4345. strh r12 [r11, FA] E1CBCFBA
  4346. -filler- 0000FF00
  4347. sbcs r10, r10, B20000 E2DAA8B2 %% R10=R10-B20000 (set flags)
  4348. -filler- 00FF0000
  4349. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  4350. -filler- FF000000
  4351. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8+1=80003B6
  4352. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000=7FD43B6
  4353. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00+1=8013FB7
  4354. adc r0,r12, CD E2AC00CD %% R0=R12+CD+1=08014085=ReturnFromBattleToOverworldGER_FRA
  4355. -filler- 0000FF00
  4356. mvn r12, E1 E3E0C0E1 %% R12=notE1=FFFFFF1E
  4357. ble ******** DAFFFFE9 %% PC=PC-5C
  4358. bic r12, r12, ED00000 E3CCC6ED %% R12=R12 and notED00000=F12FFF1E
  4359. -filler- FF000000
  4360. bic r11, r12, 1000000E E3CCB2E1 %% R11=R12 and not1000000E=E12FFF10
  4361. adcs r12, pc, 38 E2BFC1E0 %% R12=PC+38+1
  4362. -filler- 000000FF
  4363. strt r11, [r12]! E5ACB000
  4364.  
  4365. Box names:
  4366. Box 1: (z3…orBUn) [one …]
  4367. Box 2: (CQn Flo ) [one space after n; lower case L; ends with space]
  4368. Box 3: (E ) [ends with seven spaces]
  4369. Box 4: ( E ) [starts with one space; ends with six spaces]
  4370. Box 5: (F…!nE…Qn) [one …; one …]
  4371. Box 6: ( /UQm ) [starts with three spaces; ends with space]
  4372. Box 7: ( "7fn ) [starts with two spaces; righty "; ends with two spaces]
  4373. Box 8: ( DIlo ) [starts with space; upper case i; lower case l; ends with three spaces]
  4374. Box 9: (zU?n…QRn) [one …]
  4375. Box 10: (Q?nS ?n ) [one space after S; ends with space]
  4376. Box 11: ( mFlou) [starts with two spaces; lower case L; leave the last slot empty]
  4377. Box 12: (fyLRo ) [ends with three spaces]
  4378. Box 13: (m"RolGEn) [righty "; lower case L]
  4379. Box 14: ( …?q ) [starts with four spaces; one …; ends with one space]
  4380. ____________________________
  4381. For Japanese versions:
  4382. mov r1,pc 4679 %% R1=PC+4=2038104
  4383. ldr r0,pc,2C 480B %% R0=12478
  4384. sub r1,r1,r0 1A09 %% R1=R1-R0=2025C8C
  4385. ldr r0 [pc,8] 4802 %% R0=FFFF
  4386. -filler- 00FF
  4387. add r3,pc,8 A302 %% R3=PC+2+8 (sets loop_start)
  4388. mov r2,9F 229F %% R2=9F (defines number of iterations)
  4389. b pc,4 E000 %% Skip bad filler
  4390. -data- FFFF
  4391. -data- 0000
  4392. strh r0,[r1] 8008 %% Store (loop_start)
  4393. add r1,2 3102 %% R1=R1+2 (increments store address)
  4394. sub r2,1 3A01 %% R2=R2-1 (sets flags)
  4395. -filler- 4CFF
  4396. bmi pc,4 D400 %% Exits the loop after A0 iterations
  4397. mov pc,r3 469F %% Loops back to loop_start
  4398. b pc,4 E000 %% Skip bad filler
  4399. -bad filler- FF00
  4400. ldr r0 pc+10 4804 %% R0=80111B6
  4401. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  4402. bx r0 4700
  4403. -filler- 0000
  4404. -filler- 00FF
  4405. -filler- 0000
  4406. -data- 2478
  4407. -data- 0001
  4408. -filler- FF00
  4409. -filler- 0000
  4410. -data- 11B6
  4411. -data- 0801
  4412.  
  4413. Box names:
  4414. Box 1 (ルばさぶけはいぶ) [い not ぃ]
  4415. Box 2 ( い2ポめ l) [starts with space; い not ぃ; one space after め; lower case L; leave the rest empty]
  4416. Box 3 ( くィいぅあげ) [starts with two spaces; い not ぃ; ぅ not う; あ not ぁ]
  4417. Box 4 (ぴ Zポば l ) [one space after ぴ; one space after め; lower case ば; ends with space]
  4418. Box 5 (えぶFふ び ) [え not ぇ; one space aftrer ふ; ends with two spaces]
  4419. Box 6 ( リやあ ) [starts with three spaces; リ not り; あ not ぁ; ends with two spaces]
  4420. Box 7 ( ♀ちあく ) [starts with two spaces; あ not ぁ; ends with two spaces]
  4421. Box 8 onwards: Anything
  4422. _______________________________________________________________________________________________________________________________________
  4423.  
  4424.  
  4425. -Boost all the stats of a Pokémon to 65535:
  4426. Notes: this code will increase HPs, Attack, Defense, Speed, Special Attack and Special Defense of your second party Pokémon to a value of 65535. This will make your Pokémon borderline invincible (it can still be beaten but it's really unlikely). The effect of this code is not permanent, stats will go back to normal as soon as you place your Pokémon in your PC
  4427. _______________________________
  4428. For English versions:
  4429. movs r10, BB000000 E3B0A4BB %% R10=BB000000
  4430. movs r12, 3000000 E3B0C7C0 %% R12=3000000
  4431. -filler- 000000FF
  4432. adc r11, r12, E700 E2ACBCE7 %% R11=R12+E700+1=300E701
  4433. -filler- 0000FF00
  4434. sbc r11, r11, A300 E2CBBCA3 %% R11=R11-A300=3004401
  4435. -filler- 00FF0000
  4436. mvn r12, 0 E3E0C000 %% R12=not0=FFFFFFFF
  4437. -filler- FF000000
  4438. adc r11, r11, C2 E2ABB0C2 %% R11=R11+C2+1
  4439. sbc r11, r11, C1 E2CBB0C1 %% R11=R11-C1
  4440. -filler- 000000FF
  4441. strh r12 [r11, 1B] E1CBC1BB
  4442. -filler- 0000FF00
  4443. sbcs r10, r10, A100000 E2DAA6A1 %% R10=R10-A100000 (set flags)
  4444. -filler- 00FF0000
  4445. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  4446. -filler- FF000000
  4447. adc r12,r12 394 E2ACCFE5 %% R12=R12+394+1=8000392
  4448. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000=7FD4392
  4449. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00+1=8013F93
  4450. sbc r0,r12, E2 E2CC00E2 %% R0=R12-E2=08013EB1=ReturnFromBattleToOverworldENG
  4451. -filler- 0000FF00
  4452. mvn r12, E1 E3E0C0E1 %% R12=notE1=FFFFFF1E
  4453. ble ******** DAFFFFEC %% PC=PC-68
  4454. bic r12, r12, ED00000 E3CCC6ED %% R12=R12 and notED00000=F12FFF1E
  4455. -filler- FF000000
  4456. bic r11, r12, 1000000E E3CCB2E1 %% R11=R12 and not1000000E=E12FFF10
  4457. adcs r12, pc, 38 E2BFC1E0 %% R12=PC+38+1
  4458. -filler- 000000FF
  4459. strt r11, [r12]! E5ACB000
  4460.  
  4461.  
  4462. Box names:
  4463. Box 1: (A3…oFM…o) [one …; one …]
  4464. Box 2: ( sB?n ) [starts with three spaces; ends with space]
  4465. Box 3: ( 2BQn ) [starts with two spaces; ends with two spaces]
  4466. Box 4: ( Flo ) [starts with two spaces; lower case L; ends with three spaces]
  4467. Box 5: (H…!nG…Qn) [one …; one …]
  4468. Box 6: ( AGQm ) [starts with three spaces; ends with space]
  4469. Box 7: ( 05fn ) [starts with two spaces; zero; ends with two spaces]
  4470. Box 8: ( DIlo ) [starts with space; upper case i; lower case l; ends with three spaces]
  4471. Box 9: (qU?n…QRn) [one …]
  4472. Box 10: (Q?nn Rn ) [one space after n; ends with space]
  4473. Box 11: ( mFlox) [starts with two spaces; lower case L; leave the last slot empty]
  4474. Box 12: (fyLRo ) [ends with three spaces]
  4475. Box 13: (m"RolGEn) [righty "; lower case L]
  4476. Box 14: ( …?q ) [starts with four spaces; one …; ends with one space]
  4477. _______________________________
  4478. For Italian and Spanish versions:
  4479. movs r10, BB000000 E3B0A4BB %% R10=BB000000
  4480. movs r12, 3000000 E3B0C7C0 %% R12=3000000
  4481. -filler- 000000FF
  4482. adc r11, r12, E700 E2ACBCE7 %% R11=R12+E700+1=300E701
  4483. -filler- 0000FF00
  4484. sbc r11, r11, A300 E2CBBCA3 %% R11=R11-A300=3004401
  4485. -filler- 00FF0000
  4486. mvn r12, 0 E3E0C000 %% R12=not0=FFFFFFFF
  4487. -filler- FF000000
  4488. adc r11, r11, C2 E2ABB0C2 %% R11=R11+C2+1
  4489. sbc r11, r11, C1 E2CBB0C1 %% R11=R11-C1
  4490. -filler- 000000FF
  4491. strh r12 [r11, 2B] E1CBC2BB
  4492. -filler- 0000FF00
  4493. sbcs r10, r10, A100000 E2DAA6A1 %% R10=R10-A100000 (set flags)
  4494. -filler- 00FF0000
  4495. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  4496. -filler- FF000000
  4497. adc r12,r12 394 E2ACCFE5 %% R12=R12+394+1=8000392
  4498. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000=7FD4392
  4499. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00+1=8013F93
  4500. adc r0,r12, E9 E2AC00E9 %% R0=R12+E9+1=0801407D=ReturnFromBattleToOverworldITA_SPA
  4501. -filler- 0000FF00
  4502. mvn r12, E1 E3E0C0E1 %% R12=notE1=FFFFFF1E
  4503. ble ******** DAFFFFEC %% PC=PC-68
  4504. bic r12, r12, ED00000 E3CCC6ED %% R12=R12 and notED00000=F12FFF1E
  4505. -filler- FF000000
  4506. bic r11, r12, 1000000E E3CCB2E1 %% R11=R12 and not1000000E=E12FFF10
  4507. adcs r12, pc, 38 E2BFC1E0 %% R12=PC+38+1
  4508. -filler- 000000FF
  4509. strt r11, [r12]! E5ACB000
  4510.  
  4511.  
  4512. Box names:
  4513. Box 1: (A3…oFM…o) [one …; one …]
  4514. Box 2: ( sB?n ) [starts with three spaces; ends with space]
  4515. Box 3: ( 2BQn ) [starts with two spaces; ends with two spaces]
  4516. Box 4: ( Flo ) [starts with two spaces; lower case L; ends with three spaces]
  4517. Box 5: (H…!nG…Qn) [one …; one …]
  4518. Box 6: ( AHQm ) [starts with three spaces; ends with space]
  4519. Box 7: ( 05fn ) [starts with two spaces; zero; ends with two spaces]
  4520. Box 8: ( DIlo ) [starts with space; upper case i; lower case l; ends with three spaces]
  4521. Box 9: (qU?n…QRn) [one …]
  4522. Box 10: (Q?nu ?n ) [one space after u; ends with space]
  4523. Box 11: ( mFlox) [starts with two spaces; lower case L; leave the last slot empty]
  4524. Box 12: (fyLRo ) [ends with three spaces]
  4525. Box 13: (m"RolGEn) [righty "; lower case L]
  4526. Box 14: ( …?q ) [starts with four spaces; one …; ends with one space]
  4527. _______________________________
  4528. For German and French versions:
  4529. movs r10, BB000000 E3B0A4BB %% R10=BB000000
  4530. movs r12, 3000000 E3B0C7C0 %% R12=3000000
  4531. -filler- 000000FF
  4532. adc r11, r12, E700 E2ACBCE7 %% R11=R12+E700+1=300E701
  4533. -filler- 0000FF00
  4534. sbc r11, r11, A300 E2CBBCA3 %% R11=R11-A300=3004401
  4535. -filler- 00FF0000
  4536. mvn r12, 0 E3E0C000 %% R12=not0=FFFFFFFF
  4537. -filler- FF000000
  4538. adc r11, r11, C2 E2ABB0C2 %% R11=R11+C2+1
  4539. sbc r11, r11, C1 E2CBB0C1 %% R11=R11-C1
  4540. -filler- 000000FF
  4541. strh r12 [r11, 2B] E1CBC2BB
  4542. -filler- 0000FF00
  4543. sbcs r10, r10, A100000 E2DAA6A1 %% R10=R10-A100000 (set flags)
  4544. -filler- 00FF0000
  4545. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  4546. -filler- FF000000
  4547. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8+1=80003B6
  4548. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000=7FD43B6
  4549. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00+1=8013FB7
  4550. adc r0,r12, CD E2AC00CD %% R0=R12+CD+1=08014085=ReturnFromBattleToOverworldGER_FRA
  4551. -filler- 0000FF00
  4552. mvn r12, E1 E3E0C0E1 %% R12=notE1=FFFFFF1E
  4553. ble ******** DAFFFFEC %% PC=PC-68
  4554. bic r12, r12, ED00000 E3CCC6ED %% R12=R12 and notED00000=F12FFF1E
  4555. -filler- FF000000
  4556. bic r11, r12, 1000000E E3CCB2E1 %% R11=R12 and not1000000E=E12FFF10
  4557. adcs r12, pc, 38 E2BFC1E0 %% R12=PC+38+1
  4558. -filler- 000000FF
  4559. strt r11, [r12]! E5ACB000
  4560.  
  4561.  
  4562. Box names:
  4563. Box 1: (A3…oFM…o) [one …; one …]
  4564. Box 2: ( sB?n ) [starts with three spaces; ends with space]
  4565. Box 3: ( 2BQn ) [starts with two spaces; ends with two spaces]
  4566. Box 4: ( Flo ) [starts with two spaces; lower case L; ends with three spaces]
  4567. Box 5: (H…!nG…Qn) [one …; one …]
  4568. Box 6: ( AHQm ) [starts with three spaces; ends with space]
  4569. Box 7: ( 05fn ) [starts with two spaces; zero; ends with two spaces]
  4570. Box 8: ( DIlo ) [starts with space; upper case i; lower case l; ends with three spaces]
  4571. Box 9: (zU?n…QRn) [one …]
  4572. Box 10: (Q?nS ?n ) [one space after S; ends with space]
  4573. Box 11: ( mFlox) [starts with two spaces; lower case L; leave the last slot empty]
  4574. Box 12: (fyLRo ) [ends with three spaces]
  4575. Box 13: (m"RolGEn) [righty "; lower case L]
  4576. Box 14: ( …?q ) [starts with four spaces; one …; ends with one space]
  4577. ____________________________
  4578. For Japanese versions:
  4579. ldr r1 [pc,2C] 490B %% R1=300434A=starting address
  4580. mov r0,8 2008 %% R0=8
  4581. sub r0,9 3809 %% R0=R0-9=FFFFFFFF
  4582. -filler- 0000
  4583. -filler- 00FF
  4584. add r3,pc,8 A302 %% R3=PC+2+8 (sets loop_start)
  4585. mov r4,6 2406 %% R4=6 (defines number of iterations)
  4586. b pc,4 E000 %% Skip bad filler
  4587. -bad filler- FF00
  4588. -filler- 0000
  4589. strh r0,[r1] 8008 %% Store halfword (loop_start)
  4590. add r1,2 3102 %% R1=R1+2 (increments store address)
  4591. sub r4,1 3C01 %% R4=R4-1 (sets flags)
  4592. -filler- 00FF
  4593. bmi pc,4 D400 %% Exits the loop after 7 iterations
  4594. mov pc,r3 469F %% Loops back to loop_start
  4595. b pc,4 E000 %% Skip bad filler
  4596. -bad filler- FF00
  4597. ldr r0 pc+10 4804 %% R0=80111B6
  4598. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  4599. bx r0 4700
  4600. -filler- 0000
  4601. -filler- 00FF
  4602. -filler- 0000
  4603. -data- 434A
  4604. -data- 0300
  4605. -filler- FF00
  4606. -filler- 0000
  4607. -data- 11B6
  4608. -data- 0801
  4609.  
  4610. Box names:
  4611. Box 1 (さべくみけぎ ) [べ not ベ; ends with two spaces]
  4612. Box 2 ( い2かや l ) [starts with space; い not ぃ; one space after や; lower case L; ends with space]
  4613. Box 3 ( くィいぅあざ) [starts with two spaces; ィ not イ; い not ぃ; ぅ not う; あ not ぁ]
  4614. Box 4 ( Zポば l ) [starts with two spaces; one space after ば; lower case L; ends with space]
  4615. Box 5 (えぶFふ び ) [え not ぇ; one space aftrer ふ; ends with two spaces]
  4616. Box 6 ( ぼづ う ) [starts with three spaces; one space after づ; う not ぅ; ends with space]
  4617. Box 7 ( ♀ちあく ) [starts with two spaces; あ not ぁ; ends with two spaces]
  4618. Box 8 onwards: Anything
  4619. _______________________________________________________________________________________________________________________________________
  4620.  
  4621.  
  4622. -Set the current Battle Tower winning streak to any value:
  4623. This code will set the winning streak value to one of your choice. It will also activate the winning streak, so you can use it even if you don't have a winning streak at all. Before you use this code make sure you have participated to a Battle Tower challenge at some point in your savefile. If that's not the case start a challenge before the execution. You don't need to win a round, all that matters is that you started it
  4624. Choose the value of the streak you want (it must be a value between 0 and 65535) and convert it to hexadecimal. You need it to be a four digits long value so pad with zeros to the left if it is shorter (for example a winning streak of 10, or 0xA in hex, would be 0x000A). Keep in mind that this value refers to the round, not the fight, so having a 10 rounds winning streak means starting from fight 71. Also keep in mind that the in-game record count will not display values higher than 9999
  4625. Instructions for non-Japanese users: let ♥♦♣♠ be said four digits value. Choose the right code depending on your game language and fill the variable characters as shown in the code, according to ♥, ♦, ♣ and ♠
  4626. Instructions for Japanese users: let xxXX be said four digits value. Knowing xx and XX you can calculate four two-digit values: yy, YY, zz and ZZ. Calculate them in this simple way:
  4627. IF xx=[00,B6] or [BA,EE] THEN zz=00,yy=xx
  4628. IF xx=[B7,B9] THEN zz=xx-B6,yy=B6
  4629. IF xx=[EF,FF] THEN zz=xx-EE,yy=EE
  4630. IF XX=[00,B6] or [BA,EE] THEN ZZ=00,YY=XX
  4631. IF XX=[B7,B9] THEN ZZ=XX-B6,YY=B6
  4632. IF XX=[EF,FF] THEN ZZ=XX-EE,YY=EE
  4633. Those four values represent the indexes of four variable characters: to find out the actual characters corresponding to those indexes use this table: https://bulbapedia.bulbagarden.net/wiki/Character_encoding_(Generation_III)#Japanese (character 00 is a space)
  4634. _______________________________
  4635. For English versions:
  4636. sbc r12,pc,31C0 E2CFCDC7 %% R12=PC-31C0-1=203522B
  4637. mov r11, C♠ E3B0B0C♠ %% R11=C♠
  4638. sbc r12,r12,FF00 E2CCCCFF %% R12=R12-FF00-1=202532A
  4639. adc r11,r11,C*0 E2ABBEC* %% R11=R11+C*0=°♣♠
  4640. -filler- BFBFFF00
  4641. adc r11,r11,C*00 E2ABBCC* %% R11=R11+C*00=°♦♣♠
  4642. -filler- BFFF0000
  4643. adc r11,r11,C*000 E2ABBAC* %% R11=R11+C*000=°♥♦♣♠
  4644. -filler- FF000000
  4645. strh r11 [r12, D*] E1CCBDB* %% Store streak value * = 6 for lv.50, 8 for lv.100
  4646. mov r11, 3 E3B0B3C0 %% R11=3
  4647. -filler- BFBFBFFF
  4648. strb r11, [r12, D*]! E5CCB0D* %% Activate winning streak * = 0 for lv.50, 1 for lv.100
  4649. -filler- 00BFFF00
  4650. -filler- 00000000
  4651. -filler- BFFF0000
  4652. -filler- 00000000
  4653. -filler- FF000000
  4654. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  4655. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  4656. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  4657. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  4658. -filler- BFBFFF00
  4659. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  4660. -filler- BFFF0000
  4661. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  4662. -filler- FF000000
  4663. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  4664. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  4665. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  4666. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  4667.  
  4668. Box names:
  4669. Box 1: (MSUn*……o) [two …]
  4670. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  4671.  
  4672. Box 2: (RRn*D!n ) [ends with space]
  4673. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  4674.  
  4675. Box 3: (EE*B!n ) [ends with two spaces]
  4676. if ♣=C,D,E,F, then
  4677. * = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  4678. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  4679. * = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  4680.  
  4681. Box 4: (E*/!n ) [ends with three spaces]
  4682. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  4683. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  4684. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  4685. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  4686.  
  4687. Box 5: (*CRmF'…o) [lefry '; one …] * = ♀ for lv.50; , for lv.100
  4688. Box 6: (EEE*…Rq ) [one …; ends with space] * = V for lv.50; W for lv.100
  4689. Box 7: (E ) [ends with seven spaces]
  4690. Box 8: (E ) [ends with seven spaces]
  4691. Box 9: (z♀loy…Qn) [lower case L; one …]
  4692. Box 10: (♀QnFGEn ) [ends with space]
  4693. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  4694. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  4695. Box 13: (qU?n…QRn) [one …]
  4696. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  4697. _______________________________
  4698. For Italian and Spanish versions:
  4699. sbc r12,pc,31C0 E2CFCDC7 %% R12=PC-31C0-1=203522B
  4700. mov r11, C♠ E3B0B0C♠ %% R11=C♠
  4701. sbc r12,r12,FF00 E2CCCCFF %% R12=R12-FF00-1=202532A
  4702. adc r11,r11,C*0 E2ABBEC* %% R11=R11+C*0=°♣♠
  4703. -filler- BFBFFF00
  4704. adc r11,r11,C*00 E2ABBCC* %% R11=R11+C*00=°♦♣♠
  4705. -filler- BFFF0000
  4706. adc r11,r11,C*000 E2ABBAC* %% R11=R11+C*000=°♥♦♣♠
  4707. -filler- FF000000
  4708. strh r11 [r12, D*] E1CCBDB* %% Store streak value * = 6 for lv.50, 8 for lv.100
  4709. mov r11, 3 E3B0B3C0 %% R11=3
  4710. -filler- BFBFBFFF
  4711. strb r11, [r12, D*]! E5CCB0D* %% Activate winning streak * = 0 for lv.50, 1 for lv.100
  4712. -filler- 00BFFF00
  4713. -filler- 00000000
  4714. -filler- BFFF0000
  4715. -filler- 00000000
  4716. -filler- FF000000
  4717. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  4718. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  4719. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  4720. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  4721. -filler- BFBFFF00
  4722. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  4723. -filler- BFFF0000
  4724. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  4725. -filler- FF000000
  4726. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  4727. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  4728. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  4729. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  4730.  
  4731. Box names:
  4732. Box 1: (MSUn*……o) [two …]
  4733. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  4734.  
  4735. Box 2: (RRn*D!n ) [ends with space]
  4736. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  4737.  
  4738. Box 3: (EE*B!n ) [ends with two spaces]
  4739. if ♣=C,D,E,F, then
  4740. * = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  4741. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  4742. * = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  4743.  
  4744. Box 4: (E*/!n ) [ends with three spaces]
  4745. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  4746. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  4747. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  4748. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  4749.  
  4750. Box 5: (*CRmF'…o) [lefry '; one …] * = ♀ for lv.50; , for lv.100
  4751. Box 6: (EEE*…Rq ) [one …; ends with space] * = V for lv.50; W for lv.100
  4752. Box 7: (E ) [ends with seven spaces]
  4753. Box 8: (E ) [ends with seven spaces]
  4754. Box 9: (z♀loy…Qn) [lower case L; one …]
  4755. Box 10: (♀QnFGEn ) [ends with space]
  4756. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  4757. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  4758. Box 13: (qU?n…QRn) [one …]
  4759. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  4760. _______________________________
  4761. For German and French versions:
  4762. sbc r12,pc,31C0 E2CFCDC7 %% R12=PC-31C0-1=203522B
  4763. mov r11, C♠ E3B0B0C♠ %% R11=C♠
  4764. sbc r12,r12,FF00 E2CCCCFF %% R12=R12-FF00-1=202532A
  4765. adc r11,r11,C*0 E2ABBEC* %% R11=R11+C*0=°♣♠
  4766. -filler- BFBFFF00
  4767. adc r11,r11,C*00 E2ABBCC* %% R11=R11+C*00=°♦♣♠
  4768. -filler- BFFF0000
  4769. adc r11,r11,C*000 E2ABBAC* %% R11=R11+C*000=°♥♦♣♠
  4770. -filler- FF000000
  4771. strh r11 [r12, D*] E1CCBDB* %% Store streak value * = 6 for lv.50, 8 for lv.100
  4772. mov r11, 3 E3B0B3C0 %% R11=3
  4773. -filler- BFBFBFFF
  4774. strb r11, [r12, D*]! E5CCB0D* %% Activate winning streak * = 0 for lv.50, 1 for lv.100
  4775. -filler- 00BFFF00
  4776. -filler- 00000000
  4777. -filler- BFFF0000
  4778. -filler- 00000000
  4779. -filler- FF000000
  4780. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  4781. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  4782. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  4783. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  4784. -filler- BFBFFF00
  4785. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  4786. -filler- BFFF0000
  4787. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  4788. -filler- FF000000
  4789. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  4790. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  4791. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  4792. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  4793.  
  4794. Box names:
  4795. Box 1: (MSUn*……o) [two …]
  4796. * = F if ♠=0, G if ♠=1, H if ♠=2, I [upper case i] if ♠=3, J if ♠=4, K if ♠=5, L if ♠=6, M if ♠=7, N if ♠=8, O [upper case o] if ♠=9, P if ♠=A, Q if ♠=B, R if ♠=C, S if ♠=D, T if ♠=E, U if ♠=F
  4797.  
  4798. Box 2: (RRn*D!n ) [ends with space]
  4799. * = J if ♣=0, K if ♣=1, L if ♣=2, M if ♣=3, N if ♣=4, O [upper case o] if ♣=5, P if ♣=6, Q if ♣=7, R if ♣=8, S if ♣=9, T if ♣=A, U if ♣=B, F if ♣=C, G if ♣=D, H if ♣=E, I [upper case i] if ♣=F
  4800.  
  4801. Box 3: (EE*B!n ) [ends with two spaces]
  4802. if ♣=C,D,E,F, then
  4803. * = J if ♦=0, K if ♦=1, L if ♦=2, M if ♦=3, N if ♦=4, O [upper case o] if ♦=5, P if ♦=6, Q if ♦=7, R if ♦=8, S if ♦=9, T if ♦=A, U if ♦=B, F if ♦=C, G if ♦=D, H if ♦=E, I [upper case i] if ♦=F
  4804. if ♣=0,1,2,3,4,5,6,7,8,9,A,B, then
  4805. * = I [upper case i] if ♦=0, J if ♦=1, K if ♦=2, L if ♦=3, M if ♦=4, N if ♦=5, O [upper case o] if ♦=6, P if ♦=7, Q if ♦=8, R if ♦=9, S if ♦=A, T if ♦=B, U if ♦=C, F if ♦=D, G if ♦=E, H if ♦=F
  4806.  
  4807. Box 4: (E*/!n ) [ends with three spaces]
  4808. if ♦=D,E,F or (♦=C and ♣=C,D,E,F), then
  4809. * = J if ♥=0, K if ♥=1, L if ♥=2, M if ♥=3, N if ♥=4, O [upper case o] if ♥=5, P if ♥=6, Q if ♥=7, R if ♥=8, S if ♥=9, T if ♥=A, U if ♥=B, F if ♥=C, G if ♥=D, H if ♥=E, I [upper case i] if ♥=F
  4810. if ♦=0,1,2,3,4,5,6,7,8,9,A,B, or (♦=C and ♣=0,1,2,3,4,5,6,7,8,9,A,B), then
  4811. * = I [upper case i] if ♥=0, J if ♥=1, K if ♥=2, L if ♥=3, M if ♥=4, N if ♥=5, O [upper case o] if ♥=6, P if ♥=7, Q if ♥=8, R if ♥=9, S if ♥=A, T if ♥=B, U if ♥=C, F if ♥=D, G if ♥=E, H if ♥=F
  4812.  
  4813. Box 5: (*CRmF'…o) [lefry '; one …] * = ♀ for lv.50; , for lv.100
  4814. Box 6: (EEE*…Rq ) [one …; ends with space] * = V for lv.50; W for lv.100
  4815. Box 7: (E ) [ends with seven spaces]
  4816. Box 8: (E ) [ends with seven spaces]
  4817. Box 9: (z♀loy…Qn) [lower case L; one …]
  4818. Box 10: (♀QnFGEn ) [ends with space]
  4819. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  4820. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  4821. Box 13: (zU?n…QRn) [one …]
  4822. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  4823. ____________________________
  4824. For Japanese versions: (02024cac
  4825. mov r1,pc 4679 %% R1=PC+4=2038104
  4826. ldr r0,pc+2C 480B %% R0=12FAA
  4827. sub r1,r1,r0 1A09 %% R1=R1-R0=202683A
  4828. ldr r0,pc+20 4808 %% R0=yyYY
  4829. -filler- 00FF
  4830. ldr r2,pc+10 4A05 %% R2=FF00zzZZ
  4831. add r0,r0,r2 1880 %% R0=R0+R2=yyYY+FF00zzZZ=FF00xxXX=streak value
  4832. b pc,4 E000 %% Skip bad filler
  4833. -bad filler- FF00
  4834. strh r0,[r1,*] 8??8 %% Store streak value * = 6 for lv.50, 8 for lv,100
  4835. mov r0,3 2003 %% R0=3
  4836. strb r0,[r1,*] 70?8 %% Activate winning streak * = 0 for lv.50, 1 for lv,100
  4837. ldr r0 pc+8 4802 %% R0=80111B6
  4838. -filler- 00FF
  4839. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  4840. bx r0 4700
  4841. -data- zzZZ
  4842. -data- FF00
  4843. -data- 11B6
  4844. -data- 0801
  4845. -data- yyYY
  4846. -data- 0000
  4847. -filler- 00FF
  4848. -filler- 0000
  4849. -data- 2FAA
  4850. -data- 0001
  4851.  
  4852. Box names:
  4853. Box 1: (ルばさぶけはくぶ)
  4854. Box 2: ( おぼィね l ) [starts with space; お not ぉ; ィ not イ; one space after ね; lower case L; ends with space]
  4855. Box 3: (**うみ*ミいぶ) [う not ぅ; い not ぃ]
  4856. *** = Nィく [ィ not イ] for lv.50; ゥくぶ [ゥ not ウ] for lv.100
  4857. Box 4: ( Fふ び°§ ) [starts with space; one space after ふ; ends with space]
  4858. index of °=ZZ; index of §=zz
  4859. Box 5: (♀ちあく*° ) [あ not ぁ; う not ぅ; ends with two spaces]
  4860. index of *=YY; index of °=yy
  4861. Box 6: ( 9ぁあ ) [starts with three spaces; ぁ not あ; ぁ not あ; ends with two spaces]
  4862. Box 7 onwards: Anything
  4863. _______________________________________________________________________________________________________________________________________
  4864.  
  4865.  
  4866. -Give 65535 Game Corner coins:
  4867. Note: this code will increase the amount of coins to 65535 regardless of the current amount
  4868. _______________________________
  4869. For English versions:
  4870. sbc r11,pc,E900 E2CFBCE9 %% R11=PC-E900-1=2029AEB
  4871. mvn r12,0 E3E0C000 %% R11=not0=FFFFFFFF=quantity
  4872. sbc r11,r11,3FC0 E2CBBDFF %% R11=R11-3FC0-1=2025B2A
  4873. strh r12, [r11, 9E] E1CBC9BE %% Store quantity
  4874. -filler- BFBFFF00
  4875. -filler- BFBFBFBF
  4876. -filler- BFFFBFBF
  4877. -filler- BFBFBFFF
  4878. -filler- FFBFBFBF
  4879. -filler- BFBFBFFF
  4880. -filler- BFBFBFFF
  4881. -filler- BFBFBFFF
  4882. -filler- BFBFBFFF
  4883. -filler- BFBFFFBF
  4884. -filler- BFBFBFFF
  4885. -filler- BFFFBFBF
  4886. -filler- BFBFBFFF
  4887. -filler- FFBFBFBF
  4888. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  4889. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  4890. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  4891. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  4892. -filler- BFBFFF00
  4893. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  4894. -filler- BFFF0000
  4895. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  4896. -filler- FF000000
  4897. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  4898. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  4899. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  4900. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  4901.  
  4902. Box names:
  4903. Box 1: (uBUn Flo) [one space after n; lower case L]
  4904. Box 2: (CQnDOQm ) [upper case o; ends with space]
  4905. Box 3: (EEEEEEEE)
  4906. Box 4: (EEEEEEEE)
  4907. Box 5: (EEEEEEEE)
  4908. Box 6: (EEEEEEEE)
  4909. Box 7: (EEEEEEEE)
  4910. Box 8: (EEEEEEEE)
  4911. Box 9: (z♀loy…Qn) [lower case L; one …]
  4912. Box 10: (♀QnFGEn ) [ends with space]
  4913. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  4914. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  4915. Box 13: (qU?n…QRn) [one …]
  4916. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  4917. _______________________________
  4918. For Italian and Spanish versions:
  4919. sbc r11,pc,E900 E2CFBCE9 %% R11=PC-E900-1=2029AEB
  4920. mvn r12,0 E3E0C000 %% R11=not0=FFFFFFFF=quantity
  4921. sbc r11,r11,3FC0 E2CBBDFF %% R11=R11-3FC0-1=2025B2A
  4922. strh r12, [r11, 9E] E1CBC9BE %% Store quantity
  4923. -filler- BFBFFF00
  4924. -filler- BFBFBFBF
  4925. -filler- BFFFBFBF
  4926. -filler- BFBFBFFF
  4927. -filler- FFBFBFBF
  4928. -filler- BFBFBFFF
  4929. -filler- BFBFBFFF
  4930. -filler- BFBFBFFF
  4931. -filler- BFBFBFFF
  4932. -filler- BFBFFFBF
  4933. -filler- BFBFBFFF
  4934. -filler- BFFFBFBF
  4935. -filler- BFBFBFFF
  4936. -filler- FFBFBFBF
  4937. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  4938. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  4939. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  4940. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  4941. -filler- BFBFFF00
  4942. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  4943. -filler- BFFF0000
  4944. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  4945. -filler- FF000000
  4946. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  4947. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  4948. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  4949. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  4950.  
  4951. Box names:
  4952. Box 1: (uBUn Flo) [one space after n; lower case L]
  4953. Box 2: (CQnDOQm ) [upper case o; ends with space]
  4954. Box 3: (EEEEEEEE)
  4955. Box 4: (EEEEEEEE)
  4956. Box 5: (EEEEEEEE)
  4957. Box 6: (EEEEEEEE)
  4958. Box 7: (EEEEEEEE)
  4959. Box 8: (EEEEEEEE)
  4960. Box 9: (z♀loy…Qn) [lower case L; one …]
  4961. Box 10: (♀QnFGEn ) [ends with space]
  4962. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  4963. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  4964. Box 13: (qU?n…QRn) [one …]
  4965. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  4966. _______________________________
  4967. For German and French versions:
  4968. sbc r11,pc,E900 E2CFBCE9 %% R11=PC-E900-1=2029AEB
  4969. mvn r12,0 E3E0C000 %% R11=not0=FFFFFFFF=quantity
  4970. sbc r11,r11,3FC0 E2CBBDFF %% R11=R11-3FC0-1=2025B2A
  4971. strh r12, [r11, 9E] E1CBC9BE %% Store quantity
  4972. -filler- BFBFFF00
  4973. -filler- BFBFBFBF
  4974. -filler- BFFFBFBF
  4975. -filler- BFBFBFFF
  4976. -filler- FFBFBFBF
  4977. -filler- BFBFBFFF
  4978. -filler- BFBFBFFF
  4979. -filler- BFBFBFFF
  4980. -filler- BFBFBFFF
  4981. -filler- BFBFFFBF
  4982. -filler- BFBFBFFF
  4983. -filler- BFFFBFBF
  4984. -filler- BFBFBFFF
  4985. -filler- FFBFBFBF
  4986. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  4987. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  4988. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  4989. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  4990. -filler- BFBFFF00
  4991. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  4992. -filler- BFFF0000
  4993. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  4994. -filler- FF000000
  4995. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  4996. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  4997. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  4998. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  4999.  
  5000. Box names:
  5001. Box 1: (uBUn Flo) [one space after n; lower case L]
  5002. Box 2: (CQnDOQm ) [upper case o; ends with space]
  5003. Box 3: (EEEEEEEE)
  5004. Box 4: (EEEEEEEE)
  5005. Box 5: (EEEEEEEE)
  5006. Box 6: (EEEEEEEE)
  5007. Box 7: (EEEEEEEE)
  5008. Box 8: (EEEEEEEE)
  5009. Box 9: (z♀loy…Qn) [lower case L; one …]
  5010. Box 10: (♀QnFGEn ) [ends with space]
  5011. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  5012. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  5013. Box 13: (zU?n…QRn) [one …]
  5014. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  5015. ____________________________
  5016. For Japanese versions:
  5017. mov r1,pc 4679 %% R1=PC+4=2038104
  5018. ldr r0 pc+20 4808 %% R0=127DC
  5019. sub r1,r1,r0 1A09 %% R1=R1-R0=2025928
  5020. ldr r0 pc+8 4802 %% R0=1CC0FFFF=new quantity
  5021. -filler- 00FF
  5022. strh r0,[r1] 8008 %% Store new quantity
  5023. ldr r0 pc+C 4803 %% R0=80111B6
  5024. b pc,4 E000 %% Skip bad filler
  5025. -bad filler- FFFF
  5026. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  5027. bx r0 4700
  5028. -filler- 0000
  5029. -filler- 0000
  5030. -filler- 00FF
  5031. -data- 11B6
  5032. -data- 0801
  5033. -filler- 0000
  5034. -filler- FF00
  5035. -data- 27DC
  5036. -data- 0001
  5037.  
  5038. Box names:
  5039. Box 1: (ルばくぶけはいぶ) [い not ぃ]
  5040. Box 2: ( くィうぶ l) [starts with space; ィ not イ; う not ぅ; one space after ぶ; lower case L; leave the rest empty]
  5041. Box 3: (Fふ び ) [one space after ふ; ends with four spaces]
  5042. Box 4: ( ♀ちあく ) [starts with space; あ not ぁ; ends with three spaces]
  5043. Box 5: (hらあ ) [あ not ぁ; ends with five spaces]
  5044. Box 6 onwards: Anything
  5045. _______________________________________________________________________________________________________________________________________
  5046.  
  5047.  
  5048. -Change clock:
  5049. Note: this code will reset the clock event: after executing it go in your room and set the time you want. This can be used to change between day and night and to switch the Shoal Cave state. Other time related events will not be affected (Mirage Island, berry growth, lottery…)
  5050. _______________________________
  5051. For English versions:
  5052. sbc r11,pc,DB00 E2CFBCDB %% R11=PC-DB00-1=202A8EB
  5053. movs r12,C3 E3B0C0C3 %% R12=C3
  5054. sbc r11,r11,3FC0 E2CBBDFF %% R11=R11-3FC0-1=202692A
  5055. abc r0,r12,C0 E2CC00C0 %% R0=R12-C0-1=2
  5056. -filler- BFBFFF00
  5057. ldrh r12 [r11, 34] E1DBC3B4 %% Load clock halfword in R12
  5058. -filler- BFFF0000
  5059. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new clock halfword
  5060. -filler- FF000000
  5061. strh r12 [r11, 34] E1CBC3B4 %% Store back new clock halfword
  5062. -filler- 00000000
  5063. -filler- 0000BFFF
  5064. -filler- 00000000
  5065. -filler- 00BFFF00
  5066. -filler- 00000000
  5067. -filler- BFFF0000
  5068. -filler- 00000000
  5069. -filler- FF000000
  5070. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  5071. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  5072. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  5073. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  5074. -filler- BFBFFF00
  5075. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  5076. -filler- BFFF0000
  5077. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  5078. -filler- FF000000
  5079. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  5080. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  5081. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  5082. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  5083.  
  5084. Box names:
  5085. Box 1: (gBUnIF…o) [upper case i; one …]
  5086. Box 2: (CQnF Rn ) [one space after F; ends with space]
  5087. Box 3: (EE'Igm ) [righty '; upper case i; ends with two spaces]
  5088. Box 4: (E FRm ) [one space after E; ends with three spaces]
  5089. Box 5: ('IQm ) [righty '; upper case i; ends with four spaces]
  5090. Box 6: (E ) [ends with seven spaces]
  5091. Box 7: (E ) [ends with seven spaces]
  5092. Box 8: (E ) [ends with seven spaces]
  5093. Box 9: (z♀loy…Qn) [lower case L; one …]
  5094. Box 10: (♀QnFGEn ) [ends with space]
  5095. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  5096. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  5097. Box 13: (qU?n…QRn) [one …]
  5098. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  5099. _______________________________
  5100. For Italian and Spanish versions:
  5101. sbc r11,pc,DB00 E2CFBCDB %% R11=PC-DB00-1=202A8EB
  5102. movs r12,C3 E3B0C0C3 %% R12=C3
  5103. sbc r11,r11,3FC0 E2CBBDFF %% R11=R11-3FC0-1=202692A
  5104. abc r0,r12,C0 E2CC00C0 %% R0=R12-C0-1=2
  5105. -filler- BFBFFF00
  5106. ldrh r12 [r11, 34] E1DBC3B4 %% Load clock halfword in R12
  5107. -filler- BFFF0000
  5108. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new clock halfword
  5109. -filler- FF000000
  5110. strh r12 [r11, 34] E1CBC3B4 %% Store back new clock halfword
  5111. -filler- 00000000
  5112. -filler- 0000BFFF
  5113. -filler- 00000000
  5114. -filler- 00BFFF00
  5115. -filler- 00000000
  5116. -filler- BFFF0000
  5117. -filler- 00000000
  5118. -filler- FF000000
  5119. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  5120. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  5121. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  5122. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  5123. -filler- BFBFFF00
  5124. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  5125. -filler- BFFF0000
  5126. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  5127. -filler- FF000000
  5128. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  5129. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  5130. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  5131. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  5132.  
  5133. Box names:
  5134. Box 1: (gBUnIF…o) [upper case i; one …]
  5135. Box 2: (CQnF Rn ) [one space after F; ends with space]
  5136. Box 3: (EE'Igm ) [righty '; upper case i; ends with two spaces]
  5137. Box 4: (E FRm ) [one space after E; ends with three spaces]
  5138. Box 5: ('IQm ) [righty '; upper case i; ends with four spaces]
  5139. Box 6: (E ) [ends with seven spaces]
  5140. Box 7: (E ) [ends with seven spaces]
  5141. Box 8: (E ) [ends with seven spaces]
  5142. Box 9: (z♀loy…Qn) [lower case L; one …]
  5143. Box 10: (♀QnFGEn ) [ends with space]
  5144. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  5145. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  5146. Box 13: (qU?n…QRn) [one …]
  5147. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  5148. _______________________________
  5149. For German and French versions:
  5150. sbc r11,pc,DB00 E2CFBCDB %% R11=PC-DB00-1=202A8EB
  5151. movs r12,C3 E3B0C0C3 %% R12=C3
  5152. sbc r11,r11,3FC0 E2CBBDFF %% R11=R11-3FC0-1=202692A
  5153. abc r0,r12,C0 E2CC00C0 %% R0=R12-C0-1=2
  5154. -filler- BFBFFF00
  5155. ldrh r12 [r11, 34] E1DBC3B4 %% Load clock halfword in R12
  5156. -filler- BFFF0000
  5157. bic r12,r12,r0 E1CCC000 %% R12=R12 and notR0=new clock halfword
  5158. -filler- FF000000
  5159. strh r12 [r11, 34] E1CBC3B4 %% Store back new clock halfword
  5160. -filler- 00000000
  5161. -filler- 0000BFFF
  5162. -filler- 00000000
  5163. -filler- 00BFFF00
  5164. -filler- 00000000
  5165. -filler- BFFF0000
  5166. -filler- 00000000
  5167. -filler- FF000000
  5168. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  5169. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  5170. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  5171. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  5172. -filler- BFBFFF00
  5173. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  5174. -filler- BFFF0000
  5175. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  5176. -filler- FF000000
  5177. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  5178. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  5179. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  5180. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  5181.  
  5182. Box names:
  5183. Box 1: (gBUnIF…o) [upper case i; one …]
  5184. Box 2: (CQnF Rn ) [one space after F; ends with space]
  5185. Box 3: (EE'Igm ) [righty '; upper case i; ends with two spaces]
  5186. Box 4: (E FRm ) [one space after E; ends with three spaces]
  5187. Box 5: ('IQm ) [righty '; upper case i; ends with four spaces]
  5188. Box 6: (E ) [ends with seven spaces]
  5189. Box 7: (E ) [ends with seven spaces]
  5190. Box 8: (E ) [ends with seven spaces]
  5191. Box 9: (z♀loy…Qn) [lower case L; one …]
  5192. Box 10: (♀QnFGEn ) [ends with space]
  5193. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  5194. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  5195. Box 13: (zU?n…QRn) [one …]
  5196. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  5197. ____________________________
  5198. For Japanese versions:
  5199. mov r1,pc 4679 %% R1=PC+4=2038104
  5200. ldr r0 pc+18 4806 %% R0=11A56
  5201. sub r1,r1,r0 1A09 %% R1=R1-R0=20266BE
  5202. mov r0,2 2002 %% R0=2
  5203. -filler- 00FF
  5204. ldrh r2,[r1,10] 8A0A %% Load target halfword in R2
  5205. bic r2,r2,r0 4382 %% R2=R2 and notR0=new halfword
  5206. b pc,4 E000 %% Skip bad filler
  5207. -bad filler- FF00
  5208. strh r2,[r1,10] 820A %% Store back new halfword
  5209. ldr r0 pc+C 4803 %% R0=80111B6
  5210. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  5211. bx r0 4700
  5212. -filler- 00FF
  5213. -data- 1A56
  5214. -data- 0001
  5215. -filler- 0000
  5216. -filler- FF00
  5217. -data- 11B6
  5218. -data- 0801
  5219.  
  5220. Box names:
  5221. Box 1: (ルばかぶけはいみ) [い not ぃ]
  5222. Box 2: ( こゲェづ l ) [starts with space; ェ not エ; one space after づ; lower case L; ends with space]
  5223. Box 3: (こェうぶFふ び) [ェ not エ; う not ぅ; one space after ふ]
  5224. Box 4: ( カはあ ) [starts with space; あ not ぁ; ends with four spaces]
  5225. Box 5: (♀ちあく ) [あ not ぁ; ends with four spaces]
  5226. Box 6 onwards: Anything
  5227. _______________________________________________________________________________________________________________________________________
  5228.  
  5229.  
  5230. -Change trainer name to any legal name:
  5231. Notes: this code will change your trainer name to the name you write in box 5. This means you can only use names you can write with legal characters
  5232. _______________________________
  5233. For English versions:
  5234. sbc r11,pc, 3700 E2CFBDDC %% R11=PC-3700-1=2034CEB
  5235. adc r11,r11,B6 E2ABB0B6 %% R11=R11+B6=2034DA1
  5236. sbc r11,r11,FF00 E2CBBCFF %% R11=R11-FF00-1=2024EA0
  5237. adcs r12,pc,C E2BFC2C0 %% R12=PC+C=203840C
  5238. -filler- BFBFFF00
  5239. ldmib r12!, {r6,r7} E9BC00C0 %% Loads name in R6 and R7
  5240. ldrh r0, [pc, C]! E1FF00BC %% Skips data
  5241. -filler- BFBFBFBF
  5242. -filler- FFBFBFBF
  5243. -data- ********
  5244. -data- ********
  5245. -filler- BFBFBFFF
  5246. stmib r11!, {r6,r7} E9AB00C0 %% Stores name
  5247. -filler- BFBFFF00
  5248. -filler- BFBFBFBF
  5249. -filler- BFFF0000
  5250. -filler- BFBFBFBF
  5251. -filler- FF000000
  5252. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  5253. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  5254. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  5255. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  5256. -filler- BFBFFF00
  5257. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  5258. -filler- BFFF0000
  5259. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  5260. -filler- FF000000
  5261. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  5262. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  5263. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  5264. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  5265.  
  5266. Box names:
  5267. Box 1: (hCUn♀…!n) [one …]
  5268. Box 2: (BQnFHEn ) [ends with space]
  5269. Box 3: (EEF BuB ) [one space after F; ends with space]
  5270. Box 4: (mEEEEEEE)
  5271. Box 5: (*******) [leave the last slot empty] *******=desired name
  5272. Box 6: (EEEF !u ) [one space after F; ends with space]
  5273. Box 7: (EEEEEEEE)
  5274. Box 8: (EEEEEEEE)
  5275. Box 9: (z♀loy…Qn) [lower case L; one …]
  5276. Box 10: (♀QnFGEn ) [ends with space]
  5277. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  5278. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  5279. Box 13: (qU?n…QRn) [one …]
  5280. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  5281. _______________________________
  5282. For Italian and Spanish versions:
  5283. sbc r11,pc, 3700 E2CFBDDC %% R11=PC-3700-1=2034CEB
  5284. adc r11,r11,B6 E2ABB0B6 %% R11=R11+B6=2034DA1
  5285. sbc r11,r11,FF00 E2CBBCFF %% R11=R11-FF00-1=2024EA0
  5286. adcs r12,pc,C E2BFC2C0 %% R12=PC+C=203840C
  5287. -filler- BFBFFF00
  5288. ldmib r12!, {r6,r7} E9BC00C0 %% Loads name in R6 and R7
  5289. ldrh r0, [pc, C]! E1FF00BC %% Skips data
  5290. -filler- BFBFBFBF
  5291. -filler- FFBFBFBF
  5292. -data- ********
  5293. -data- ********
  5294. -filler- BFBFBFFF
  5295. stmib r11!, {r6,r7} E9AB00C0 %% Stores name
  5296. -filler- BFBFFF00
  5297. -filler- BFBFBFBF
  5298. -filler- BFFF0000
  5299. -filler- BFBFBFBF
  5300. -filler- FF000000
  5301. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  5302. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  5303. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  5304. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  5305. -filler- BFBFFF00
  5306. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  5307. -filler- BFFF0000
  5308. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  5309. -filler- FF000000
  5310. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  5311. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  5312. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  5313. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  5314.  
  5315. Box names:
  5316. Box 1: (hCUn♀…!n) [one …]
  5317. Box 2: (BQnFHEn ) [ends with space]
  5318. Box 3: (EEF BuB ) [one space after F; ends with space]
  5319. Box 4: (mEEEEEEE)
  5320. Box 5: (*******) [leave the last slot empty] *******=desired name
  5321. Box 6: (EEEF !u ) [one space after F; ends with space]
  5322. Box 7: (EEEEEEEE)
  5323. Box 8: (EEEEEEEE)
  5324. Box 9: (z♀loy…Qn) [lower case L; one …]
  5325. Box 10: (♀QnFGEn ) [ends with space]
  5326. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  5327. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  5328. Box 13: (qU?n…QRn) [one …]
  5329. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  5330. _______________________________
  5331. For German and French versions:
  5332. sbc r11,pc, 3700 E2CFBDDC %% R11=PC-3700-1=2034CEB
  5333. adc r11,r11,B6 E2ABB0B6 %% R11=R11+B6=2034DA1
  5334. sbc r11,r11,FF00 E2CBBCFF %% R11=R11-FF00-1=2024EA0
  5335. adcs r12,pc,C E2BFC2C0 %% R12=PC+C=203840C
  5336. -filler- BFBFFF00
  5337. ldmib r12!, {r6,r7} E9BC00C0 %% Loads name in R6 and R7
  5338. ldrh r0, [pc, C]! E1FF00BC %% Skips data
  5339. -filler- BFBFBFBF
  5340. -filler- FFBFBFBF
  5341. -data- ********
  5342. -data- ********
  5343. -filler- BFBFBFFF
  5344. stmib r11!, {r6,r7} E9AB00C0 %% Stores name
  5345. -filler- BFBFFF00
  5346. -filler- BFBFBFBF
  5347. -filler- BFFF0000
  5348. -filler- BFBFBFBF
  5349. -filler- FF000000
  5350. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  5351. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  5352. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  5353. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  5354. -filler- BFBFFF00
  5355. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  5356. -filler- BFFF0000
  5357. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  5358. -filler- FF000000
  5359. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  5360. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  5361. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  5362. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  5363.  
  5364. Box names:
  5365. Box 1: (hCUn♀…!n) [one …]
  5366. Box 2: (BQnFHEn ) [ends with space]
  5367. Box 3: (EEF BuB ) [one space after F; ends with space]
  5368. Box 4: (mEEEEEEE)
  5369. Box 5: (*******) [leave the last slot empty] *******=desired name
  5370. Box 6: (EEEF !u ) [one space after F; ends with space]
  5371. Box 7: (EEEEEEEE)
  5372. Box 8: (EEEEEEEE)
  5373. Box 9: (z♀loy…Qn) [lower case L; one …]
  5374. Box 10: (♀QnFGEn ) [ends with space]
  5375. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  5376. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  5377. Box 13: (zU?n…QRn) [one …]
  5378. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  5379. ____________________________
  5380. For Japanese versions:
  5381. mov r1,pc 4679 %% R1=PC+4=2038104
  5382. ldr r0,pc+18 4806 %% R0=13500
  5383. sub r1,r1,r0 1A09 %% R1=R1-R0=20267BC=first halfword location
  5384. ldr r0,pc+1C 4807 %% R0=********
  5385. -filler- 00FF
  5386. str r0,[r1] 6008
  5387. ldr r0,pc+18 4806 %% R0=********
  5388. b pc,4 E000 %% Skip bad filler
  5389. -bad filler- FF00
  5390. str r0,[r1, 4] 6048
  5391. ldr r0 pc+18 4806 %% R0=80111B6
  5392. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  5393. bx r0 4700
  5394. -filler- 00FF
  5395. -data- 3500
  5396. -data- 0001
  5397. -filler- 0000
  5398. -filler- FF00
  5399. -data- ****
  5400. -data- ****
  5401. -data- ****
  5402. -data- ****
  5403. -filler- 00FF
  5404. -filler- 0000
  5405. -data- 11B6
  5406. -data- 0801
  5407.  
  5408. Box names:
  5409. Box 1: (ルばかぶけはきぶ)
  5410. Box 2: ( くタかぶ l ) [starts with space; one space after ぶ; lower case L; ends with space]
  5411. Box 3: (ぶタかぶFふ び) [one space after ふ]
  5412. Box 4: ( ゅあ ) [starts with two spaces; あ not ぁ; ends with four spaces]
  5413. Box 5: (*******) [leave the last slot empty]
  5414. Box 6: ( ♀ちあく ) [starts with three spaces; あ not ぁ; end with space]
  5415. Box 7 onwards: Anything
  5416. _______________________________________________________________________________________________________________________________________
  5417.  
  5418.  
  5419. -Perform a PID or TID corruption on box 9 slot 27:
  5420. Note: put the Pokémon you want to corrupt in box 9 slot 27. Input box names, replacing the * characters according to the type of curruption you want. Any Pokémon can be corrupted with this, regardless of the initiator you'd need in a non ACE-assisted corruption.
  5421. If you want to perform a double corruption, execute both PID and TID corruption codes on the same Pokémon without moving it during the process. Order is not important and you'll not need a Fast Double Corruption move. To swap between the two codes, only box 5 changes so it's really fast.
  5422. If and only if you want to perform a double corruption and for some really weird reason moving the egg from the first corruption is necessary, a Fast Double Corruption move becomes mandatory and the TID corruption code must be executed first on all non type 7 or 10 Pokémon
  5423. _______________________________
  5424. For English versions:
  5425. sbc r11,pc,3100 E2CFBDC4 %% R11=PC-3100-1=20352EB
  5426. movs r12,2C E3B0C1B0 %% R12=2C
  5427. -filler- BFBFBFFF
  5428. adc r12,r12, E000 E2ACCCE0 %% R12=R12+E000=E02C
  5429. -filler- BFBFFF00
  5430. strh r12 [pc, 16] E1CFC1B6
  5431. -filler- BFFF0000
  5432. movs r12,40000030 E3B0C1C1 %% R12=40000030
  5433. -filler- FF000000
  5434. bic r0,r12, B0 E3CC00B0 %% R0=R12 and notB0=40000000
  5435. ldrt r12 [r11, D*]! E5BBC0D* %% Load Pokémon's TID/PID *=D for TID, 9 for PID
  5436. -filler- BFBFBFFF
  5437. -------- EEEEC000 %% Becomes E02CC000 (eor r12, r12, r0)
  5438. -filler- BFBFFF00
  5439. str r12 [r11] E5ABC000 %% Store back corrupted TID/PID
  5440. -filler- BFFF0000
  5441. -filler- BFBFBFBF
  5442. -filler- FFBFBFBF
  5443. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  5444. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  5445. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  5446. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  5447. -filler- BFBFFF00
  5448. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  5449. -filler- BFFF0000
  5450. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  5451. -filler- FF000000
  5452. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  5453. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  5454. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  5455. sbc r0,r12, DE E2CC00DE %% R0=R12-DE-1=08013EB1=ReturnFromBattleToOverworldENG
  5456.  
  5457. Box names:
  5458. Box 1: (JCUn…G…o) [one …; one …]
  5459. Box 2: (EEElR?n ) [lower case L; ends with space]
  5460. Box 3: (EE♀GUm ) [ends with two spaces]
  5461. Box 4: (EGG…o ) [one …; ends with three spaces]
  5462. Box 5: (… Ro*FAq) [one …; one space after …] * = i for TID, e for PID
  5463. Box 6: (EEE Fzz ) [one space after E; ends with space]
  5464. Box 7: (EE F!q ) [one space after E; ends with two spaces]
  5465. Box 8: (EEEEEEEE)
  5466. Box 9: (z♀loy…Qn) [lower case L; one …]
  5467. Box 10: (♀QnFGEn ) [ends with space]
  5468. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  5469. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  5470. Box 13: (qU?n…QRn) [one …]
  5471. Box 14: (Q?nj Rn ) [one space after j; ends with space]
  5472. _______________________________
  5473. For Italian and Spanish versions:
  5474. sbc r11,pc,3100 E2CFBDC4 %% R11=PC-3100-1=20352EB
  5475. movs r12,2C E3B0C1B0 %% R12=2C
  5476. -filler- BFBFBFFF
  5477. adc r12,r12, E000 E2ACCCE0 %% R12=R12+E000=E02C
  5478. -filler- BFBFFF00
  5479. strh r12 [pc, 16] E1CFC1B6
  5480. -filler- BFFF0000
  5481. movs r12,40000030 E3B0C1C1 %% R12=40000030
  5482. -filler- FF000000
  5483. bic r0,r12, B0 E3CC00B0 %% R0=R12 and notB0=40000000
  5484. ldrt r12 [r11, D*]! E5BBC0D* %% Load Pokémon's TID/PID *=D for TID, 9 for PID
  5485. -filler- BFBFBFFF
  5486. -------- EEEEC000 %% Becomes E02CC000 (eor r12, r12, r0)
  5487. -filler- BFBFFF00
  5488. str r12 [r11] E5ABC000 %% Store back corrupted TID/PID
  5489. -filler- BFFFBFBF
  5490. -filler- BFBFBFBF
  5491. -filler- FFBFBFBF
  5492. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  5493. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  5494. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  5495. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  5496. -filler- BFBFFF00
  5497. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  5498. -filler- BFFF0000
  5499. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  5500. -filler- FF000000
  5501. adc r12,r12 394 E2ACCFE5 %% R12=R12+394=8000391
  5502. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD4390
  5503. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013F90
  5504. adc r0,r12, ED E2AC00ED %% R0=R12+ED=0801407D=ReturnFromBattleToOverworldITA_SPA
  5505.  
  5506. Box names:
  5507. Box 1: (JCUn…G…o) [one …; one …]
  5508. Box 2: (EEElR?n ) [lower case L; ends with space]
  5509. Box 3: (EE♀GUm ) [ends with two spaces]
  5510. Box 4: (EGG…o ) [one …; ends with three spaces]
  5511. Box 5: (… Ro*FAq) [one …; one space after …] * = i for TID, e for PID
  5512. Box 6: (EEE Fzz ) [one space after E; ends with space]
  5513. Box 7: (EE F!q ) [one space after E; ends with two spaces]
  5514. Box 8: (EEEEEEEE)
  5515. Box 9: (z♀loy…Qn) [lower case L; one …]
  5516. Box 10: (♀QnFGEn ) [ends with space]
  5517. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  5518. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  5519. Box 13: (qU?n…QRn) [one …]
  5520. Box 14: (Q?ny ?n ) [one space after y; ends with space]
  5521. _______________________________
  5522. For German and French versions:
  5523. sbc r11,pc,3100 E2CFBDC4 %% R11=PC-3100-1=20352EB
  5524. movs r12,2C E3B0C1B0 %% R12=2C
  5525. -filler- BFBFBFFF
  5526. adc r12,r12, E000 E2ACCCE0 %% R12=R12+E000=E02C
  5527. -filler- BFBFFF00
  5528. strh r12 [pc, 16] E1CFC1B6
  5529. -filler- BFFF0000
  5530. movs r12,40000030 E3B0C1C1 %% R12=40000030
  5531. -filler- FF000000
  5532. bic r0,r12, B0 E3CC00B0 %% R0=R12 and notB0=40000000
  5533. ldrt r12 [r11, D*]! E5BBC0D* %% Load Pokémon's TID/PID *=D for TID, 9 for PID
  5534. -filler- BFBFBFFF
  5535. -------- EEEEC000 %% Becomes E02CC000 (eor r12, r12, r0)
  5536. -filler- BFBFFF00
  5537. str r12 [r11] E5ABC000 %% Store back corrupted TID/PID
  5538. -filler- BFFFBFBF
  5539. -filler- BFBFBFBF
  5540. -filler- FFBFBFBF
  5541. mvn r11, EE00000 E3E0B6EE %% R11=notEE00000=F11FFFFF
  5542. sbc r11, r11, ED E2CBB0ED %% R11=R12-ED-1=F11FFF11
  5543. sbc r11, r11, FF00000 E2CBB6FF %% R11=R11-FF00000-1=E12FFF10="bx r0" opcode
  5544. adcs r12,pc, 30 E2BFC1C0 %% R12=PC+30
  5545. -filler- BFBFFF00
  5546. strt r11, [r12]! E5ACB000 %% Store bx r0 opcode in [r12]
  5547. -filler- BFFF0000
  5548. mvn r12, F8000002 E3E0C3BE %% R12=notF8000002=7FFFFFD
  5549. -filler- FF000000
  5550. adc r12,r12 3B8 E2ACCFEE %% R12=R12+3B8=80003B5
  5551. sbc r12,r12, 2C000 E2CCCBB0 %% R12=R12-2C000-1=7FD43B4
  5552. adc r12,r12 3FC00 E2ACCBFF %% R12=R12+3FC00=8013FB4
  5553. adc r0,r12, D1 E2AC00D1 %% R0=R12+D1=08014085=ReturnFromBattleToOverworldGER_FRA
  5554.  
  5555. Box names:
  5556. Box 1: (JCUn…G…o) [one …; one …]
  5557. Box 2: (EEElR?n ) [lower case L; ends with space]
  5558. Box 3: (EE♀GUm ) [ends with two spaces]
  5559. Box 4: (EGG…o ) [one …; ends with three spaces]
  5560. Box 5: (… Ro*FAq) [one …; one space after …] * = i for TID, e for PID
  5561. Box 6: (EEE Fzz ) [one space after E; ends with space]
  5562. Box 7: (EE F!q ) [one space after E; ends with two spaces]
  5563. Box 8: (EEEEEEEE)
  5564. Box 9: (z♀loy…Qn) [lower case L; one …]
  5565. Box 10: (♀QnFGEn ) [ends with space]
  5566. Box 11: (EE …?q ) [one space after E; one …; ends with two spaces]
  5567. Box 12: (EDIlo ) [upper case i; lower case L; ends with three spaces]
  5568. Box 13: (zU?n…QRn) [one …]
  5569. Box 14: (Q?nW ?n ) [one space after W; ends with space]
  5570. ____________________________
  5571. For Japanese versions:
  5572. mov r1,pc 4679 %% R1=PC+4=2038104
  5573. ldr r0 pc+18 4806 %% R0=302*
  5574. sub r1,r1,r0 1A09 %% R1=R1-R0=20350E*
  5575. ldr r0 pc+18 4806 %% R0=FF004000
  5576. -filler- 00FF
  5577. ldrh r2,[r1,10] 8A0A %% Load half TID/PID in R2
  5578. eor r2,r2,r0 4042 %% R2=R2 xor R0=new half TID/PID
  5579. b pc,4 E000 %% Skip bad filler
  5580. -bad filler- FF00
  5581. strh r2,[r1,10] 820A %% Store new half TID/PID
  5582. ldr r0 pc+C 4803 %% R0=80111B6
  5583. add r0,r0,3 1CC0 %% R0=R0+3=80111B9=ReturnFromBattleToOverworldJAP
  5584. bx r0 4700
  5585. -filler- 00FF
  5586. -data- 30** **=32 for PID, 2E for TID
  5587. -data- 0000
  5588. -data- 4000
  5589. -data- FF00
  5590. -data- 11B6
  5591. -data- 0801
  5592.  
  5593. Box names:
  5594. Box 1: (ルばかぶけはかぶ)
  5595. Box 2: ( こゲぢぞ l ) [starts with space; one space after ぞ; lower case L; ends with space]
  5596. Box 3: (こェうぶFふ び) [ェ not エ; う not ぅ; one space after ふ]
  5597. Box 4: ( *ぃ ぞ ) [starts with space; ぃ not い; three spaces after ぃ; ends with space]
  5598. * = ぇ [ぇ not え] for PID, ん for TID
  5599.  
  5600. Box 5: (♀ちあく ) [あ not ぁ; ends with four spaces]
  5601. Box 6 onwards: Anything
  5602. _______________________________________________________________________________________________________________________________________
Comments
  • qpjat076
    152 days
    # text 0.19 KB | 0 0
    1. Would it be theoretically possible to do a credits warp? I know that's not possible with the codes here so far, but is that something that's even in the realm of possibility for development?
    • Sleipnir17
      152 days
      # text 0.54 KB | 0 0
      1. Theoretically possible for sure. Hall of Fame warp is actually pretty much ready, I have a teleport anywhere code just waiting in my PC, at some point I'll do a document for index values of locations just like the Emerald and FRLG ones I have and then the teleport anywhere code will be available for anyone. An actual credit warp is different but there is nothing unheard-of about it, it's likely possible. Consider though that, until a native form of ACE is found, this glitch is illegal in speedruns so an actual credit warp might not be that useful
Add Comment
Please, Sign In to add comment