Guest User

FFT Map Pack Mod Battle Series Event

a guest
Jun 3rd, 2021
68
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Offset(x00004000)
  2.  
  3. //Var x0070 will be used to track what part of the event to run
  4. Switch(x70)
  5. Case(x0001) //PART 2
  6. JumpForward(x02)
  7. Break()
  8. Case(x0002) //PART 3
  9. JumpForward(x03)
  10. Break()
  11. Case(x0003) //PART 4
  12. JumpForward(x04)
  13. Break()
  14. Case(x0004) //PART 5
  15. JumpForward(x05)
  16. Break()
  17. Case(x0005) //PART 6
  18. JumpForward(x06)
  19. Break()
  20. Case(x0006) //PART 7
  21. JumpForward(x07)
  22. Break()
  23. Case(x0007) //PART 8 (FINAL)
  24. JumpForward(x08)
  25. Break()
  26. Default() //First part no jump, run part 1 below
  27. Break()
  28. EndSwitch()
  29.  
  30. //PART 1
  31. Erase(x02,x00)
  32. Erase(x78,x00)
  33. Erase(x79,x00)
  34. Erase(x7A,x00)
  35. Erase(x7B,x00)
  36.  
  37. WarpUnit(x80,x00,005,007,x00,x00)
  38.  
  39. LoadEVTCHR(x01,x36,x00)
  40. WaitForInstruction(x34,x00)
  41. SaveEVTCHR(x01)
  42. UnitAnim(x80,x00,x0259,x00)
  43.  
  44. LoadEVTCHR(x00,x61,x00)
  45. WaitForInstruction(x34,x00)
  46. SaveEVTCHR(x00)
  47.  
  48. BGSound(x0D,+127,+127,x00,060)
  49.  
  50. Camera(+00496,-00192,+00180,+00302,+02560,+00000,+04096,+00001)
  51. Reveal(080)
  52. Wait(00120)
  53.  
  54. WarpUnit(x02,x00,005,000,x00,x02)
  55. ColorUnit(x02,x00,x01,-006,-004,-002,000)
  56. SpriteMove(x02,x00,+00000,+00000,-00024,x00,x01,+00000)
  57. Draw(x02,x00)
  58. ColorUnit(x02,x00,x08,+000,+000,+000,004)
  59. SpriteMove(x02,x00,+00000,+00000,+00000,x00,x01,+00032)
  60. WaitSpriteMove(x02,x00)
  61. UnitAnim(x02,x00,x0002,x00)
  62. Wait(00040)
  63.  
  64. DisplayMessage(x10,x11,x0001,x02,x00,x00,+00000,+00000,+00000,x02)
  65. WaitForInstruction(x01,x00)
  66.  
  67. Camera(+00596,-00192,+00480,+00302,+02560,+00000,+04096,+00100)
  68.  
  69. Wait(00012)
  70.  
  71. WalkTo(x02,x00,005,002,x00,x00,+008,x01)
  72. WaitWalk(x02,x00)
  73. UnitAnim(x02,x00,x0002,x00)
  74.  
  75. WarpUnit(x78,x00,005,000,x00,x02)
  76.  
  77. ColorUnit(x78,x00,x01,-006,-004,-002,000)
  78. SpriteMove(x78,x00,+00000,+00000,-00024,x00,x01,+00000)
  79. Draw(x78,x00)
  80. ColorUnit(x78,x00,x08,+000,+000,+000,004)
  81. SpriteMove(x78,x00,+00000,+00000,+00000,x00,x01,+00024)
  82. WaitSpriteMove(x78,x00)
  83.  
  84. BlockStart()
  85. WalkTo(x78,x00,005,001,x00,x00,+008,x01)
  86. WaitWalk(x78,x00)
  87. UnitAnim(x78,x00,x0002,x00)
  88. BlockEnd()
  89.  
  90. Wait(00018)
  91.  
  92. WarpUnit(x79,x00,005,000,x00,x02)
  93.  
  94. ColorUnit(x79,x00,x01,-006,-004,-002,000)
  95. SpriteMove(x79,x00,+00000,+00000,-00024,x00,x01,+00000)
  96. Draw(x79,x00)
  97. ColorUnit(x79,x00,x08,+000,+000,+000,004)
  98. SpriteMove(x79,x00,+00000,+00000,+00000,x00,x01,+00024)
  99. WaitSpriteMove(x79,x00)
  100. UnitAnim(x79,x00,x0002,x00)
  101.  
  102. BlockStart()
  103. Wait(00010)
  104. WarpUnit(x7A,x00,004,000,x00,x02)
  105. ColorUnit(x7A,x00,x01,-006,-004,-002,000)
  106. SpriteMove(x7A,x00,+00000,+00000,-00024,x00,x01,+00000)
  107. Draw(x7A,x00)
  108. ColorUnit(x7A,x00,x08,+000,+000,+000,004)
  109. SpriteMove(x7A,x00,+00000,+00000,+00000,x00,x01,+00024)
  110. WaitSpriteMove(x7A,x00)
  111. WalkTo(x7A,x00,004,001,x00,x00,+008,x01)
  112. WaitWalk(x7A,x00)
  113. UnitAnim(x7A,x00,x0002,x00)
  114. BlockEnd()
  115.  
  116. BlockStart()
  117. Jump(x02,x00,002,x03)
  118. WaitWalk(x02,x00)
  119. WalkTo(x02,x00,007,007,x00,x00,+008,x01)
  120. WaitWalk(x02,x00)
  121. UnitAnim(x02,x00,x0002,x00)
  122. BlockEnd()
  123.  
  124. WarpUnit(x7B,x00,003,000,x00,x02)
  125. ColorUnit(x7B,x00,x01,-006,-004,-002,000)
  126. SpriteMove(x7B,x00,+00000,+00000,-00024,x00,x01,+00000)
  127. Draw(x7B,x00)
  128. ColorUnit(x7B,x00,x08,+000,+000,+000,004)
  129. SpriteMove(x7B,x00,+00000,+00000,+00000,x00,x01,+00024)
  130. WaitSpriteMove(x7B,x00)
  131. WalkTo(x7B,x00,003,002,x00,x00,+008,x01)
  132. WaitWalk(x7B,x00)
  133. UnitAnim(x7B,x00,x0002,x00)
  134.  
  135. WaitForInstruction(x04,x00)
  136.  
  137. Camera(+00596,-00192,+00680,+00302,+02560,+00000,+04096,+00100)
  138.  
  139. BlockStart()
  140. Wait(00018)
  141. Jump(x7B,x00,002,x03)
  142. WalkTo(x7B,x00,001,008,x00,x00,+008,x01)
  143. WaitWalk(x7B,x00)
  144. UnitAnim(x7B,x00,x0002,x00)
  145. RotateUnit(x7B,x00,x0C,x00,x00,x00)
  146. BlockEnd()
  147.  
  148. BlockStart()
  149. WalkTo(x79,x00,008,002,x00,x00,+006,x01)
  150. WaitWalk(x79,x00)
  151. UnitAnim(x79,x00,x0002,x00)
  152. RotateUnit(x79,x00,x08,x00,x00,x00)
  153. BlockEnd()
  154.  
  155. BlockStart()
  156. Wait(00080)
  157. WalkTo(x78,x00,005,002,x00,x00,+004,x01)
  158. WaitWalk(x78,x00)
  159. UnitAnim(x78,x00,x0002,x00)
  160. RotateUnit(x78,x00,x08,x00,x00,x00)
  161. BlockEnd()
  162.  
  163. BlockStart()
  164. Wait(00055)
  165. WalkTo(x7A,x00,006,010,x00,x00,+008,x01)
  166. WaitWalk(x7A,x00)
  167. UnitAnim(x7A,x00,x0002,x00)
  168. RotateUnit(x7A,x00,x00,x00,x00,x00)
  169. BlockEnd()
  170.  
  171. WaitForInstruction(x04,x00)
  172.  
  173. WaitWalk(x02,x00)
  174. Wait(00012)
  175. SpriteMove(x02,x00,-00004,+00000,+00000,x00,x01,+00018)
  176. WaitSpriteMove(x02,x00)
  177.  
  178. DisplayMessage(x10,x12,x0002,x02,x00,x00,+00000,+00000,+00000,x02)
  179. WaitForInstruction(x01,x00)
  180.  
  181. AddUnit(x81,x00,x01)
  182. WaitAddUnitEnd()
  183.  
  184. Camera(+00746,-00352,+00740,+00302,+02560,+00000,+04096,+00060)
  185. WaitForInstruction(x04,x00)
  186.  
  187. EditBGSound(x0D,+000,+000,x01,x00)
  188.  
  189. WaitWalk(x78,x00)
  190. WaitWalk(x79,x00)
  191. WaitWalk(x7A,x00)
  192. WaitWalk(x7B,x00)
  193.  
  194. BlockStart()
  195. Wait(00012)
  196. UnitAnim(x78,x00,x0021,x00)
  197. Wait(00008)
  198. UnitAnim(x78,x00,x0016,x00)
  199. Wait(00008)
  200. UnitAnim(x02,x00,x0202,x00)
  201. SpriteMove(x02,x00,+00003,+00000,+00000,x00,x01,+00010)
  202. WaitSpriteMove(x02,x00)
  203. UnitAnim(x79,x00,x0021,x00)
  204. UnitAnim(x02,x00,x0203,x00)
  205. Wait(00007)
  206. UnitAnim(x7A,x00,x0021,x00)
  207. Wait(00007)
  208. UnitAnim(x7B,x00,x0021,x00)
  209. UnitAnim(x02,x00,x0204,x00)
  210. BlockEnd()
  211.  
  212. Effect(x021B,x80,005,007,x00)
  213. EffectStart()
  214. EventSpeed(x02)
  215. EffectEnd()
  216. WaitForInstruction(x41,x00)
  217. EventSpeed(x01)
  218.  
  219. DisplayMessage(x10,x11,x0003,x80,x00,x00,+00000,+00000,+00000,x01)
  220. WaitForInstruction(x01,x00)
  221.  
  222. DisplayMessage(x10,x12,x0004,x02,x00,x00,+00000,+00000,+00000,x02)
  223. WaitForInstruction(x01,x00)
  224.  
  225. SETVAR(x0000,x0018)
  226. If()
  227. //If they do not accept the challenge, return them to the world map (at Mandalia)
  228. PostEvent(x80,x0000)
  229. //Set current world map location to Mandalia Plains, since Thieves Fort is set to always trigger
  230. //This event in chapters 2/3, and we don't want the player stuck in an infinite loop
  231. SET(x0031,x0018)
  232. JumpForward(x01)
  233. EndIf()
  234.  
  235. UnitAnim(x02,x00,x0203,x00)
  236.  
  237. DisplayMessage(x10,x12,x0005,x02,x00,x00,+00000,+00000,+00000,x02)
  238. WaitForInstruction(x01,x00)
  239.  
  240. BlockStart()
  241. Wait(00012)
  242. SpriteMove(x02,x00,+00006,+00000,+00000,x00,x01,+00010)
  243. BlockEnd()
  244.  
  245. //For Effect
  246. WarpUnit(x81,x00,007,007,x00,x02)
  247.  
  248. DisplayMessage(x10,x11,x0006,x80,x00,x00,+00000,+00000,+00000,x01)
  249. WaitForInstruction(x01,x00)
  250.  
  251. BlockStart()
  252. Wait(00040)
  253. ColorUnit(x02,x00,x00,-127,-127,-127,001)
  254. Wait(00006)
  255. Erase(x02,x00)
  256. ColorUnit(x78,x00,x00,-086,-084,-082,001)
  257. Wait(00006)
  258. Erase(x78,x00)
  259. ColorUnit(x79,x00,x00,-086,-084,-082,001)
  260. Wait(00006)
  261. Erase(x79,x00)
  262. ColorUnit(x7A,x00,x00,-086,-084,-082,001)
  263. Wait(00006)
  264. Erase(x7A,x00)
  265. ColorUnit(x7B,x00,x00,-086,-084,-082,001)
  266. Wait(00006)
  267. Erase(x7B,x00)
  268. BlockEnd()
  269.  
  270. Effect(x00DC,x81,005,007,x00)
  271. EffectStart()
  272. EventSpeed(x02)
  273. EffectEnd()
  274. WaitForInstruction(x41,x00)
  275. EventSpeed(x01)
  276.  
  277. Wait(00060)
  278.  
  279. ChangeMap(022,x00)
  280.  
  281. SET(x007F,x00A0)
  282.  
  283. //Using Jumps instead of CallSub because it is not working as of this version of JuraviS (NOTE: I believe CallSub works now)
  284. BackTarget(xF0)
  285.  
  286. //Battle Stats x0001 has to be the same as what it was at the start of the event,
  287. //otherwise when units are hit before they get their turn they will not react
  288. //(But still take damage). This is just a graphical glitch, but an important one to take care of to make things looks good
  289. //It gets set to FF on ChangeMap, so it must be assigned
  290. SET(x0070,x0010)
  291. UnitAddress(x02,x71)
  292. SaveAddress(x70,x0001,x71,001)
  293. SET(x0070,x0011)
  294. UnitAddress(x78,x71)
  295. SaveAddress(x70,x0001,x71,001)
  296. SET(x0070,x0012)
  297. UnitAddress(x79,x71)
  298. SaveAddress(x70,x0001,x71,001)
  299. SET(x0070,x0013)
  300. UnitAddress(x7A,x71)
  301. SaveAddress(x70,x0001,x71,001)
  302. SET(x0070,x0014)
  303. UnitAddress(x7B,x71)
  304. SaveAddress(x70,x0001,x71,001)
  305. //Resetting positions as well before adding so nobody gets AddUnit'd off the map
  306. WarpUnit(x02,x00,000,000,x00,x00)
  307. WarpUnit(x78,x00,000,001,x00,x00)
  308. WarpUnit(x79,x00,000,002,x00,x00)
  309. WarpUnit(x7A,x00,000,003,x00,x00)
  310. WarpUnit(x7B,x00,000,004,x00,x00)
  311. AddUnit(x02,x00,x00)
  312. WaitAddUnit()
  313. AddUnit(x78,x00,x00)
  314. WaitAddUnit()
  315. AddUnit(x79,x00,x00)
  316. WaitAddUnit()
  317. AddUnit(x7A,x00,x00)
  318. WaitAddUnit()
  319. AddUnit(x7B,x00,x00)
  320. WaitAddUnit()
  321.  
  322. //Jump ahead back to the correct PART
  323. AlterParameter(x00,x7F)
  324. JumpForward(x00)
  325.  
  326.  
  327. ForwardTarget(xA0)
  328.  
  329. Music(x01,+127,060)
  330.  
  331. //Player Party
  332. WarpUnit(x02,x00,005,003,x00,x02)
  333. WarpUnit(x78,x00,000,001,x00,x02)
  334. WarpUnit(x79,x00,002,001,x00,x02)
  335. WarpUnit(x7A,x00,007,001,x00,x02)
  336. WarpUnit(x7B,x00,009,002,x00,x02)
  337. //Robot
  338. RemoveUnit(x80,x00)
  339.  
  340. //Enemies
  341. WarpUnit(x86,x00,000,006,x00,x00)
  342. WarpUnit(x87,x00,004,007,x00,x00)
  343. WarpUnit(x8C,x00,009,008,x00,x00)
  344. WarpUnit(x8D,x00,003,014,x00,x00)
  345. AddUnit(x86,x00,x00)
  346. WaitAddUnit()
  347. AddUnit(x87,x00,x00)
  348. WaitAddUnit()
  349. AddUnit(x8C,x00,x00)
  350. WaitAddUnit()
  351. AddUnit(x8D,x00,x00)
  352. WaitAddUnit()
  353.  
  354. UnitAnim(x01,x01,x0002,x00)
  355.  
  356. Camera(+00396,-00192,+01080,+00302,+00512,+00000,+04096,+00001)
  357. Reveal(080)
  358. Wait(00120)
  359.  
  360. Camera(+00596,-00192,+00180,+00302,+00512,+00000,+04096,+00120)
  361. WaitForInstruction(x04,x00)
  362.  
  363. Wait(00030)
  364.  
  365. DisplayMessage(x10,x11,x0007,x02,x00,x00,+00000,+00000,+00000,x02)
  366. WaitForInstruction(x01,x00)
  367.  
  368. //Set Var x0070 to x0001 to make the next part of the event play when the player wins
  369. SET(x0070,x0001)
  370.  
  371. EventSpeed(x02)
  372. DarkScreen(x00,x03,012,064,x00,004)
  373. WaitForInstruction(x36,x00)
  374. DisplayConditions(x08,090)
  375. WaitForInstruction(x38,x00)
  376. DisplayConditions(x00,090)
  377. WaitForInstruction(x38,x00)
  378. RemoveDarkScreen()
  379. WaitForInstruction(x36,x00)
  380. EventSpeed(x01)
  381.  
  382. //Jump to the end of the event to make the battle start
  383. JumpForward(x01)
  384.  
  385.  
  386. //PART 2
  387. ForwardTarget(x02)
  388.  
  389. FadeSound(x00,090)
  390. UnitAnim(x01,x01,x0002,x00)
  391. Focus(x02,x00,x02,x00,x00)
  392. FocusSpeed(+00030)
  393. Camera(+00000,+00000,+00000,+00302,+00000,+00000,+04096,+00000)
  394. WaitForInstruction(x04,x00)
  395. InflictStatus(x02,x00,x00,x0C,x00)
  396. Wait(00030)
  397.  
  398. DisplayMessage(x10,x11,x0008,x02,x00,x00,+00000,+00000,+00000,x02)
  399. WaitForInstruction(x01,x00)
  400.  
  401. BlockStart()
  402. Wait(00040)
  403. ColorUnit(x02,x00,x00,-127,-127,-127,001)
  404. Wait(00006)
  405. Erase(x02,x00)
  406. ColorUnit(x78,x00,x00,-086,-084,-082,001)
  407. Wait(00006)
  408. Erase(x78,x00)
  409. ColorUnit(x79,x00,x00,-086,-084,-082,001)
  410. Wait(00006)
  411. Erase(x79,x00)
  412. ColorUnit(x7A,x00,x00,-086,-084,-082,001)
  413. Wait(00006)
  414. Erase(x7A,x00)
  415. ColorUnit(x7B,x00,x00,-086,-084,-082,001)
  416. Wait(00006)
  417. Erase(x7B,x00)
  418. BlockEnd()
  419.  
  420. Effect(x001E,x02,000,000,x00)
  421. EffectStart()
  422. EventSpeed(x02)
  423. EffectEnd()
  424. WaitForInstruction(x41,x00)
  425. EventSpeed(x01)
  426.  
  427. Wait(00060)
  428.  
  429. ChangeMap(103,x00)
  430.  
  431. PlayTrack(x56)
  432.  
  433. //Every time this JumpBack is called what its doing is going back to BackTarget(xF0), running that block of instructions, and coming back to the designated point where it was called
  434. //This was done to save space in the event, rather than writing the same instructions 7 times
  435. //This method could probably be used a ton more in this event to save even more space
  436. SET(x007F,x00A1)
  437. JumpBack(xF0)
  438. ForwardTarget(xA1)
  439.  
  440. //Player Party
  441. WarpUnit(x02,x00,005,005,x00,x02)
  442. WarpUnit(x78,x00,005,005,x00,x02)
  443. WarpUnit(x79,x00,005,005,x00,x02)
  444. WarpUnit(x7A,x00,005,005,x00,x02)
  445. WarpUnit(x7B,x00,005,005,x00,x02)
  446. //Robot
  447. RemoveUnit(x80,x00)
  448.  
  449. //Enemies
  450. WarpUnit(x83,x00,001,008,x00,x02)
  451. WarpUnit(x84,x00,005,009,x00,x02)
  452. WarpUnit(x8A,x00,000,005,x00,x03)
  453. WarpUnit(x88,x00,006,004,x00,x02)
  454. AddUnit(x83,x00,x00)
  455. WaitAddUnit()
  456. AddUnit(x84,x00,x00)
  457. WaitAddUnit()
  458. AddUnit(x8A,x00,x00)
  459. WaitAddUnit()
  460. AddUnit(x88,x00,x00)
  461. WaitAddUnit()
  462.  
  463. Erase(x02,x00)
  464. Erase(x78,x00)
  465. Erase(x79,x00)
  466. Erase(x7A,x00)
  467. Erase(x7B,x00)
  468.  
  469. UnitAnim(x02,x01,x0002,x00)
  470.  
  471. SpriteMove(x83,x00,+00106,-00174,-00176,x00,x00,+00000)
  472. SpriteMove(x84,x00,+00004,-00168,-00176,x00,x00,+00000)
  473.  
  474. Camera(+00392,-01452,+00440,-00290,+04688,+00000,+08192,+00001)
  475. WaitForInstruction(x04,x00)
  476. Reveal(030)
  477. CameraFusionStart()
  478. Camera(+00384,-00848,+00424,-00260,+04832,-00096,+07040,+00128)
  479. Camera(+00464,-00652,+00136,-00114,+05648,-00032,+03840,+00128)
  480. Camera(+00608,-00460,+00168,+00206,+06144,-00032,+04096,+00128)
  481. Camera(+00432,-00204,+00504,+00206,+06480,-00000,+04097,+00128)
  482. //Camera(+00432,-00106,+00376,+00206,+06544,+00000,+04097,+00128)
  483. CameraFusionEnd()
  484. WaitForInstruction(x04,x00)
  485. Wait(00020)
  486. UseFieldObject(x02,x00)
  487. Sound(x004C)
  488.  
  489. UnitShadow(x02,x00,x01)
  490. ColorUnit(x02,x00,x01,-006,-004,-002,000)
  491. SpriteMove(x02,x00,+00000,+00000,-00024,x00,x01,+00000)
  492. Draw(x02,x00)
  493. ColorUnit(x02,x00,x08,+000,+000,+000,004)
  494. SpriteMove(x02,x00,+00000,+00000,+00000,x00,x01,+00032)
  495. WaitSpriteMove(x02,x00)
  496. UnitShadow(x02,x00,x00)
  497. UnitAnim(x02,x00,x0002,x00)
  498. Wait(00040)
  499.  
  500. WalkTo(x02,x00,005,007,x00,x00,+008,x01)
  501. WaitWalk(x02,x00)
  502. UnitAnim(x02,x00,x0002,x00)
  503. RotateUnit(x02,x00,x00,x00,x00,x00)
  504.  
  505. UnitShadow(x78,x00,x01)
  506. ColorUnit(x78,x00,x01,-006,-004,-002,000)
  507. SpriteMove(x78,x00,+00000,+00000,-00024,x00,x01,+00000)
  508. Draw(x78,x00)
  509. ColorUnit(x78,x00,x08,+000,+000,+000,004)
  510. SpriteMove(x78,x00,+00000,+00000,+00000,x00,x01,+00024)
  511. WaitSpriteMove(x78,x00)
  512. UnitShadow(x78,x00,x00)
  513.  
  514. BlockStart()
  515. WalkTo(x78,x00,004,006,x00,x00,+008,x01)
  516. WaitWalk(x78,x00)
  517. UnitAnim(x78,x00,x0002,x00)
  518. BlockEnd()
  519.  
  520. Wait(00018)
  521. UnitShadow(x79,x00,x01)
  522. ColorUnit(x79,x00,x01,-006,-004,-002,000)
  523. SpriteMove(x79,x00,+00000,+00000,-00024,x00,x01,+00000)
  524. Draw(x79,x00)
  525. ColorUnit(x79,x00,x08,+000,+000,+000,004)
  526. SpriteMove(x79,x00,+00000,+00000,+00000,x00,x01,+00024)
  527. WaitSpriteMove(x79,x00)
  528. UnitShadow(x79,x00,x00)
  529. UnitAnim(x79,x00,x0002,x00)
  530. WalkTo(x79,x00,006,005,x00,x00,+008,x01)
  531. WaitWalk(x79,x00)
  532. UnitAnim(x79,x00,x0002,x00)
  533.  
  534. Wait(00010)
  535. UnitShadow(x7A,x00,x01)
  536. ColorUnit(x7A,x00,x01,-006,-004,-002,000)
  537. SpriteMove(x7A,x00,+00000,+00000,-00024,x00,x01,+00000)
  538. Draw(x7A,x00)
  539. ColorUnit(x7A,x00,x08,+000,+000,+000,004)
  540. SpriteMove(x7A,x00,+00000,+00000,+00000,x00,x01,+00024)
  541. WaitSpriteMove(x7A,x00)
  542. UnitShadow(x7A,x00,x00)
  543. WalkTo(x7A,x00,004,005,x00,x00,+008,x01)
  544. WaitWalk(x7A,x00)
  545. UnitAnim(x7A,x00,x0002,x00)
  546.  
  547. UnitShadow(x7B,x00,x01)
  548. ColorUnit(x7B,x00,x01,-006,-004,-002,000)
  549. SpriteMove(x7B,x00,+00000,+00000,-00024,x00,x01,+00000)
  550. Draw(x7B,x00)
  551. ColorUnit(x7B,x00,x08,+000,+000,+000,004)
  552. SpriteMove(x7B,x00,+00000,+00000,+00000,x00,x01,+00024)
  553. WaitSpriteMove(x7B,x00)
  554. UnitShadow(x7B,x00,x00)
  555. UnitAnim(x7B,x00,x0002,x00)
  556.  
  557. Camera(+00432,-00804,+00504,+00206,+06480,-00000,+04097,+00068)
  558. WaitForInstruction(x04,x00)
  559.  
  560. UnitAnim(x83,x00,x0075,x00)
  561. Wait(00030)
  562. UnitAnim(x84,x00,x0075,x00)
  563. Wait(00030)
  564. RotateUnit(x83,x00,x0C,x00,x00,x00)
  565. RotateUnit(x84,x00,x00,x00,x00,x00)
  566.  
  567. Camera(+00532,-00204,+00504,+00206,+06656,-00000,+04097,+00068)
  568. WaitForInstruction(x04,x00)
  569. SpriteMove(x83,x00,+00000,-00000,-00000,x00,x00,+00000)
  570. SpriteMove(x84,x00,+00000,-00000,-00000,x00,x00,+00000)
  571.  
  572. UnitAnim(x83,x00,x0076,x00)
  573. Wait(00030)
  574. UnitAnim(x84,x00,x0076,x00)
  575. RotateUnit(x02,x00,x08,x00,x00,x00)
  576. WaitRotateUnit(x02,x00)
  577. Wait(00030)
  578. DisplayMessage(x10,x11,x0009,x02,x00,x00,+00000,+00000,+00000,x02)
  579. WaitForInstruction(x01,x00)
  580.  
  581. //Set Var x0070 to x0002 to make the next part of the event play when the player wins
  582. SET(x0070,x0002)
  583.  
  584. EventSpeed(x02)
  585. DarkScreen(x00,x03,012,064,x00,004)
  586. WaitForInstruction(x36,x00)
  587. DisplayConditions(x08,090)
  588. WaitForInstruction(x38,x00)
  589. DisplayConditions(x00,090)
  590. WaitForInstruction(x38,x00)
  591. RemoveDarkScreen()
  592. WaitForInstruction(x36,x00)
  593. EventSpeed(x01)
  594.  
  595. //Jump to the end of the event to make the battle start
  596. JumpForward(x01)
  597.  
  598.  
  599. //PART 3
  600. ForwardTarget(x03)
  601.  
  602. FadeSound(x00,090)
  603. UnitAnim(x01,x01,x0002,x00)
  604. Focus(x02,x00,x02,x00,x00)
  605. FocusSpeed(+00030)
  606. Camera(+00000,+00000,+00000,+00302,+00000,+00000,+04096,+00000)
  607. WaitForInstruction(x04,x00)
  608. InflictStatus(x02,x00,x00,x0C,x00)
  609. Wait(00030)
  610.  
  611. BlockStart()
  612. Wait(00040)
  613. ColorUnit(x02,x00,x00,-127,-127,-127,001)
  614. Wait(00006)
  615. Erase(x02,x00)
  616. ColorUnit(x78,x00,x00,-086,-084,-082,001)
  617. Wait(00006)
  618. Erase(x78,x00)
  619. ColorUnit(x79,x00,x00,-086,-084,-082,001)
  620. Wait(00006)
  621. Erase(x79,x00)
  622. ColorUnit(x7A,x00,x00,-086,-084,-082,001)
  623. Wait(00006)
  624. Erase(x7A,x00)
  625. ColorUnit(x7B,x00,x00,-086,-084,-082,001)
  626. Wait(00006)
  627. Erase(x7B,x00)
  628. BlockEnd()
  629.  
  630. Effect(x00C7,x02,000,000,x00)
  631. EffectStart()
  632. EventSpeed(x02)
  633. EffectEnd()
  634. WaitForInstruction(x41,x00)
  635. EventSpeed(x01)
  636.  
  637. Wait(00060)
  638.  
  639. ChangeMap(056,x00)
  640.  
  641. PlayTrack(x5F)
  642.  
  643. SET(x007F,x00A2)
  644. JumpBack(xF0)
  645. ForwardTarget(xA2)
  646.  
  647. //Player Party
  648. WarpUnit(x02,x00,002,005,x00,x03)
  649. WarpUnit(x78,x00,003,006,x00,x03)
  650. WarpUnit(x79,x00,003,004,x00,x03)
  651. WarpUnit(x7A,x00,004,007,x00,x03)
  652. WarpUnit(x7B,x00,004,003,x00,x03)
  653. //Robot
  654. RemoveUnit(x80,x00)
  655.  
  656. //Enemies
  657. WarpUnit(x8E,x00,008,006,x00,x01)
  658. WarpUnit(x8F,x00,008,003,x00,x01)
  659. WarpUnit(x8B,x00,009,005,x00,x01)
  660. WarpUnit(x89,x00,009,004,x00,x01)
  661. AddUnit(x8E,x00,x00)
  662. WaitAddUnit()
  663. AddUnit(x8F,x00,x00)
  664. WaitAddUnit()
  665. AddUnit(x8B,x00,x00)
  666. WaitAddUnit()
  667. AddUnit(x89,x00,x00)
  668. WaitAddUnit()
  669.  
  670. UnitAnim(x04,x01,x0002,x00)
  671.  
  672. Camera(+00596,-01092,+00880,+00302,+00512,+00000,+04096,+00001)
  673. Reveal(080)
  674. Wait(00120)
  675.  
  676. Camera(+00596,-00192,+00880,+00302,+00512,+00000,+04096,+00120)
  677. WaitForInstruction(x04,x00)
  678.  
  679. //Set Var x0070 to x0003 to make the next part of the event play when the player wins
  680. SET(x0070,x0003)
  681.  
  682. EventSpeed(x02)
  683. DarkScreen(x00,x03,012,064,x00,004)
  684. WaitForInstruction(x36,x00)
  685. DisplayConditions(x08,090)
  686. WaitForInstruction(x38,x00)
  687. DisplayConditions(x00,090)
  688. WaitForInstruction(x38,x00)
  689. RemoveDarkScreen()
  690. WaitForInstruction(x36,x00)
  691. EventSpeed(x01)
  692.  
  693. //Jump to the end of the event to make the battle start
  694. JumpForward(x01)
  695.  
  696. //PART 4
  697. ForwardTarget(x04)
  698. FadeSound(x00,090)
  699. UnitAnim(x01,x01,x0002,x00)
  700. Focus(x02,x00,x02,x00,x00)
  701. FocusSpeed(+00030)
  702. Camera(+00000,+00000,+00000,+00302,+00000,+00000,+04096,+00000)
  703. WaitForInstruction(x04,x00)
  704. InflictStatus(x02,x00,x00,x0C,x00)
  705. Wait(00030)
  706.  
  707. BlockStart()
  708. Wait(00040)
  709. ColorUnit(x02,x00,x00,-127,-127,-127,001)
  710. Wait(00006)
  711. Erase(x02,x00)
  712. ColorUnit(x78,x00,x00,-086,-084,-082,001)
  713. Wait(00006)
  714. Erase(x78,x00)
  715. ColorUnit(x79,x00,x00,-086,-084,-082,001)
  716. Wait(00006)
  717. Erase(x79,x00)
  718. ColorUnit(x7A,x00,x00,-086,-084,-082,001)
  719. Wait(00006)
  720. Erase(x7A,x00)
  721. ColorUnit(x7B,x00,x00,-086,-084,-082,001)
  722. Wait(00006)
  723. Erase(x7B,x00)
  724. BlockEnd()
  725.  
  726. Effect(x0025,x02,000,000,x00)
  727. EffectStart()
  728. EventSpeed(x02)
  729. EffectEnd()
  730. WaitForInstruction(x41,x00)
  731. EventSpeed(x01)
  732.  
  733. Wait(00060)
  734.  
  735. ChangeMap(034,x00)
  736.  
  737. PlayTrack(x5C)
  738.  
  739. SET(x007F,x00A3)
  740. JumpBack(xF0)
  741. ForwardTarget(xA3)
  742.  
  743. //Player Party
  744. WarpUnit(x02,x00,008,003,x00,x01)
  745. WarpUnit(x78,x00,009,004,x00,x01)
  746. WarpUnit(x79,x00,009,002,x00,x01)
  747. WarpUnit(x7A,x00,010,004,x00,x01)
  748. WarpUnit(x7B,x00,010,002,x00,x01)
  749. //Robot
  750. RemoveUnit(x80,x00)
  751.  
  752. //Enemies
  753. WarpUnit(x84,x00,007,008,x00,x00)
  754. WarpUnit(x8C,x00,008,008,x00,x00)
  755. WarpUnit(x8D,x00,003,006,x00,x00)
  756. WarpUnit(x8E,x00,001,003,x00,x03)
  757. AddUnit(x84,x00,x00)
  758. WaitAddUnit()
  759. AddUnit(x8C,x00,x00)
  760. WaitAddUnit()
  761. AddUnit(x8D,x00,x00)
  762. WaitAddUnit()
  763. AddUnit(x8E,x00,x00)
  764. WaitAddUnit()
  765.  
  766. UnitAnim(x00,x00,x0002,x00)
  767.  
  768.  
  769. Camera(+00900,-00048,+00392,+00302,+00512,+00000,+04096,+00001)
  770. Reveal(080)
  771. Wait(00120)
  772.  
  773. //Set Var x0070 to x0004 to make the next part of the event play when the player wins
  774. SET(x0070,x0004)
  775.  
  776. EventSpeed(x02)
  777. DarkScreen(x00,x03,012,064,x00,004)
  778. WaitForInstruction(x36,x00)
  779. DisplayConditions(x08,090)
  780. WaitForInstruction(x38,x00)
  781. DisplayConditions(x00,090)
  782. WaitForInstruction(x38,x00)
  783. RemoveDarkScreen()
  784. WaitForInstruction(x36,x00)
  785. EventSpeed(x01)
  786.  
  787. //Jump to the end of the event to make the battle start
  788. JumpForward(x01)
  789.  
  790. //PART 5
  791. ForwardTarget(x05)
  792. BlockStart()
  793. Wait(00040)
  794. ColorUnit(x02,x00,x00,-127,-127,-127,001)
  795. Wait(00006)
  796. Erase(x02,x00)
  797. ColorUnit(x78,x00,x00,-086,-084,-082,001)
  798. Wait(00006)
  799. Erase(x78,x00)
  800. ColorUnit(x79,x00,x00,-086,-084,-082,001)
  801. Wait(00006)
  802. Erase(x79,x00)
  803. ColorUnit(x7A,x00,x00,-086,-084,-082,001)
  804. Wait(00006)
  805. Erase(x7A,x00)
  806. ColorUnit(x7B,x00,x00,-086,-084,-082,001)
  807. Wait(00006)
  808. Erase(x7B,x00)
  809. BlockEnd()
  810.  
  811. Effect(x005E,x02,000,000,x00)
  812. EffectStart()
  813. EventSpeed(x02)
  814. EffectEnd()
  815. WaitForInstruction(x41,x00)
  816. EventSpeed(x01)
  817.  
  818. Wait(00060)
  819.  
  820. ChangeMap(032,x00)
  821.  
  822. PlayTrack(x1F)
  823.  
  824. SET(x007F,x00A4)
  825. JumpBack(xF0)
  826. ForwardTarget(xA4)
  827.  
  828. //Player Party
  829. WarpUnit(x02,x00,000,003,x00,x02)
  830. WarpUnit(x78,x00,001,003,x00,x02)
  831. WarpUnit(x79,x00,002,003,x00,x02)
  832. WarpUnit(x7A,x00,003,003,x00,x02)
  833. WarpUnit(x7B,x00,004,003,x00,x02)
  834. //Robot
  835. RemoveUnit(x80,x00)
  836.  
  837. //Enemies
  838. WarpUnit(x86,x00,007,011,x00,x00)
  839. WarpUnit(x87,x00,006,011,x00,x00)
  840. WarpUnit(x88,x00,005,012,x00,x00)
  841. WarpUnit(x89,x00,004,012,x00,x00)
  842. AddUnit(x86,x00,x00)
  843. WaitAddUnit()
  844. AddUnit(x87,x00,x00)
  845. WaitAddUnit()
  846. AddUnit(x88,x00,x00)
  847. WaitAddUnit()
  848. AddUnit(x89,x00,x00)
  849. WaitAddUnit()
  850.  
  851. UnitAnim(x00,x00,x0002,x00)
  852.  
  853. Camera(+00350,-00192,+00380,+00302,+00512,+00000,+04096,+00001)
  854. Reveal(080)
  855. Wait(00120)
  856.  
  857. Camera(+00350,-00202,+01480,+00302,+00512,+00000,+04096,+00180)
  858. WaitForInstruction(x04,x00)
  859.  
  860. //Set Var x0070 to x0005 to make the next part of the event play when the player wins
  861. SET(x0070,x0005)
  862.  
  863. EventSpeed(x02)
  864. DarkScreen(x00,x03,012,064,x00,004)
  865. WaitForInstruction(x36,x00)
  866. DisplayConditions(x08,090)
  867. WaitForInstruction(x38,x00)
  868. DisplayConditions(x00,090)
  869. WaitForInstruction(x38,x00)
  870. RemoveDarkScreen()
  871. WaitForInstruction(x36,x00)
  872. EventSpeed(x01)
  873.  
  874. //Jump to the end of the event to make the battle start
  875. JumpForward(x01)
  876.  
  877. //Part 6
  878. ForwardTarget(x06)
  879.  
  880. BlockStart()
  881. Wait(00040)
  882. ColorUnit(x02,x00,x00,-127,-127,-127,001)
  883. Wait(00006)
  884. Erase(x02,x00)
  885. ColorUnit(x78,x00,x00,-086,-084,-082,001)
  886. Wait(00006)
  887. Erase(x78,x00)
  888. ColorUnit(x79,x00,x00,-086,-084,-082,001)
  889. Wait(00006)
  890. Erase(x79,x00)
  891. ColorUnit(x7A,x00,x00,-086,-084,-082,001)
  892. Wait(00006)
  893. Erase(x7A,x00)
  894. ColorUnit(x7B,x00,x00,-086,-084,-082,001)
  895. Wait(00006)
  896. Erase(x7B,x00)
  897. BlockEnd()
  898.  
  899. Effect(x0068,x02,000,000,x00)
  900. EffectStart()
  901. EventSpeed(x02)
  902. EffectEnd()
  903. WaitForInstruction(x41,x00)
  904. EventSpeed(x01)
  905.  
  906. Wait(00060)
  907.  
  908. ChangeMap(049,x00)
  909.  
  910. PlayTrack(x09)
  911.  
  912. SET(x007F,x00A5)
  913. JumpBack(xF0)
  914. ForwardTarget(xA5)
  915.  
  916. //Player Party
  917. WarpUnit(x02,x00,002,000,x00,x02)
  918. WarpUnit(x78,x00,003,000,x00,x02)
  919. WarpUnit(x79,x00,004,000,x00,x02)
  920. WarpUnit(x7A,x00,005,000,x00,x02)
  921. WarpUnit(x7B,x00,006,000,x00,x02)
  922. //Robot
  923. RemoveUnit(x80,x00)
  924.  
  925. //Enemies
  926. WarpUnit(x81,x00,001,009,x00,x00)
  927. WarpUnit(x82,x00,007,004,x00,x00)
  928. WarpUnit(x85,x00,004,006,x00,x00)
  929. AddUnit(x81,x00,x00)
  930. WaitAddUnit()
  931. AddUnit(x82,x00,x00)
  932. WaitAddUnit()
  933. AddUnit(x85,x00,x00)
  934. WaitAddUnit()
  935.  
  936. UnitAnim(x00,x00,x0002,x00)
  937.  
  938. Camera(+00396,-00352,+00580,+00302,+00512,+00000,+04096,+00001)
  939. Reveal(080)
  940. Wait(00120)
  941.  
  942. Camera(+00396,-00052,+00580,+00302,+00512,+00000,+04096,+00120)
  943. WaitForInstruction(x04,x00)
  944.  
  945. //Set Var x0070 to x0006 to make the next part of the event play when the player wins
  946. SET(x0070,x0006)
  947.  
  948. EventSpeed(x02)
  949. DarkScreen(x00,x03,012,064,x00,004)
  950. WaitForInstruction(x36,x00)
  951. DisplayConditions(x08,090)
  952. WaitForInstruction(x38,x00)
  953. DisplayConditions(x00,090)
  954. WaitForInstruction(x38,x00)
  955. RemoveDarkScreen()
  956. WaitForInstruction(x36,x00)
  957. EventSpeed(x01)
  958.  
  959. //Jump to the end of the event to make the battle start
  960. JumpForward(x01)
  961.  
  962. //PART 7
  963. ForwardTarget(x07)
  964. BlockStart()
  965. Wait(00040)
  966. ColorUnit(x02,x00,x00,-127,-127,-127,001)
  967. Wait(00006)
  968. Erase(x02,x00)
  969. ColorUnit(x78,x00,x00,-086,-084,-082,001)
  970. Wait(00006)
  971. Erase(x78,x00)
  972. ColorUnit(x79,x00,x00,-086,-084,-082,001)
  973. Wait(00006)
  974. Erase(x79,x00)
  975. ColorUnit(x7A,x00,x00,-086,-084,-082,001)
  976. Wait(00006)
  977. Erase(x7A,x00)
  978. ColorUnit(x7B,x00,x00,-086,-084,-082,001)
  979. Wait(00006)
  980. Erase(x7B,x00)
  981. BlockEnd()
  982.  
  983. Effect(x00B0,x02,000,000,x00)
  984. EffectStart()
  985. EventSpeed(x02)
  986. EffectEnd()
  987. WaitForInstruction(x41,x00)
  988. EventSpeed(x01)
  989.  
  990. Wait(00060)
  991.  
  992. ChangeMap(091,x00)
  993. FadeSound(x00,090)
  994.  
  995. SET(x007F,x00A6)
  996. JumpBack(xF0)
  997. ForwardTarget(xA6)
  998.  
  999. Erase(x02,x00)
  1000. Erase(x78,x00)
  1001. Erase(x79,x00)
  1002. Erase(x7A,x00)
  1003. Erase(x7B,x00)
  1004.  
  1005. WarpUnit(x80,x00,005,007,x00,x00)
  1006.  
  1007. LoadEVTCHR(x01,x36,x00)
  1008. WaitForInstruction(x34,x00)
  1009. SaveEVTCHR(x01)
  1010. UnitAnim(x80,x00,x0259,x00)
  1011.  
  1012. LoadEVTCHR(x00,x61,x00)
  1013. WaitForInstruction(x34,x00)
  1014. SaveEVTCHR(x00)
  1015.  
  1016. BGSound(x0D,+127,+127,x00,060)
  1017.  
  1018. Camera(+00496,-00192,+00180,+00302,+02560,+00000,+04096,+00001)
  1019. Reveal(080)
  1020. Wait(00120)
  1021.  
  1022. WarpUnit(x02,x00,005,000,x00,x02)
  1023. UnitAnim(x02,x00,x0003,x00)
  1024.  
  1025. ColorUnit(x02,x00,x01,-006,-004,-002,000)
  1026. SpriteMove(x02,x00,+00000,+00000,-00024,x00,x01,+00000)
  1027. Draw(x02,x00)
  1028. ColorUnit(x02,x00,x08,+000,+000,+000,004)
  1029. SpriteMove(x02,x00,+00000,+00000,+00000,x00,x01,+00032)
  1030. WaitSpriteMove(x02,x00)
  1031. UnitAnim(x02,x00,x0002,x00)
  1032. Wait(00040)
  1033.  
  1034. DisplayMessage(x10,x11,x000A,x02,x00,x00,+00000,+00000,+00000,x02)
  1035. WaitForInstruction(x01,x00)
  1036.  
  1037. Camera(+00596,-00192,+00480,+00302,+02560,+00000,+04096,+00100)
  1038.  
  1039. Wait(00012)
  1040.  
  1041. WalkTo(x02,x00,005,002,x00,x00,+008,x01)
  1042. WaitWalk(x02,x00)
  1043. UnitAnim(x02,x00,x0002,x00)
  1044.  
  1045. WarpUnit(x78,x00,005,000,x00,x02)
  1046. UnitAnim(x78,x00,x0003,x00)
  1047.  
  1048. ColorUnit(x78,x00,x01,-006,-004,-002,000)
  1049. SpriteMove(x78,x00,+00000,+00000,-00024,x00,x01,+00000)
  1050. Draw(x78,x00)
  1051. ColorUnit(x78,x00,x08,+000,+000,+000,004)
  1052. SpriteMove(x78,x00,+00000,+00000,+00000,x00,x01,+00024)
  1053. WaitSpriteMove(x78,x00)
  1054.  
  1055. BlockStart()
  1056. WalkTo(x78,x00,005,001,x00,x00,+008,x01)
  1057. WaitWalk(x78,x00)
  1058. UnitAnim(x78,x00,x0002,x00)
  1059. BlockEnd()
  1060.  
  1061. Wait(00018)
  1062.  
  1063. WarpUnit(x79,x00,005,000,x00,x02)
  1064. UnitAnim(x79,x00,x0003,x00)
  1065.  
  1066. ColorUnit(x79,x00,x01,-006,-004,-002,000)
  1067. SpriteMove(x79,x00,+00000,+00000,-00024,x00,x01,+00000)
  1068. Draw(x79,x00)
  1069. ColorUnit(x79,x00,x08,+000,+000,+000,004)
  1070. SpriteMove(x79,x00,+00000,+00000,+00000,x00,x01,+00024)
  1071. WaitSpriteMove(x79,x00)
  1072. UnitAnim(x79,x00,x0002,x00)
  1073.  
  1074. BlockStart()
  1075. Wait(00010)
  1076. WarpUnit(x7A,x00,004,000,x00,x02)
  1077. UnitAnim(x7A,x00,x0003,x00)
  1078. ColorUnit(x7A,x00,x01,-006,-004,-002,000)
  1079. SpriteMove(x7A,x00,+00000,+00000,-00024,x00,x01,+00000)
  1080. Draw(x7A,x00)
  1081. ColorUnit(x7A,x00,x08,+000,+000,+000,004)
  1082. SpriteMove(x7A,x00,+00000,+00000,+00000,x00,x01,+00024)
  1083. WaitSpriteMove(x7A,x00)
  1084. WalkTo(x7A,x00,004,001,x00,x00,+008,x01)
  1085. WaitWalk(x7A,x00)
  1086. UnitAnim(x7A,x00,x0002,x00)
  1087. BlockEnd()
  1088.  
  1089. BlockStart()
  1090. Jump(x02,x00,002,x03)
  1091. WaitWalk(x02,x00)
  1092. WalkTo(x02,x00,007,007,x00,x00,+008,x01)
  1093. WaitWalk(x02,x00)
  1094. UnitAnim(x02,x00,x0002,x00)
  1095. BlockEnd()
  1096.  
  1097. WarpUnit(x7B,x00,003,000,x00,x02)
  1098. UnitAnim(x7B,x00,x0003,x00)
  1099. ColorUnit(x7B,x00,x01,-006,-004,-002,000)
  1100. SpriteMove(x7B,x00,+00000,+00000,-00024,x00,x01,+00000)
  1101. Draw(x7B,x00)
  1102. ColorUnit(x7B,x00,x08,+000,+000,+000,004)
  1103. SpriteMove(x7B,x00,+00000,+00000,+00000,x00,x01,+00024)
  1104. WaitSpriteMove(x7B,x00)
  1105. WalkTo(x7B,x00,003,002,x00,x00,+008,x01)
  1106. WaitWalk(x7B,x00)
  1107. UnitAnim(x7B,x00,x0002,x00)
  1108.  
  1109. WaitForInstruction(x04,x00)
  1110.  
  1111. Camera(+00596,-00192,+00680,+00302,+02560,+00000,+04096,+00100)
  1112.  
  1113. BlockStart()
  1114. Wait(00018)
  1115. Jump(x7B,x00,002,x03)
  1116. WalkTo(x7B,x00,001,008,x00,x00,+008,x01)
  1117. WaitWalk(x7B,x00)
  1118. UnitAnim(x7B,x00,x0002,x00)
  1119. RotateUnit(x7B,x00,x0C,x00,x00,x00)
  1120. BlockEnd()
  1121.  
  1122. BlockStart()
  1123. WalkTo(x79,x00,008,002,x00,x00,+006,x01)
  1124. WaitWalk(x79,x00)
  1125. UnitAnim(x79,x00,x0002,x00)
  1126. RotateUnit(x79,x00,x08,x00,x00,x00)
  1127. BlockEnd()
  1128.  
  1129. BlockStart()
  1130. Wait(00080)
  1131. WalkTo(x78,x00,005,002,x00,x00,+004,x01)
  1132. WaitWalk(x78,x00)
  1133. UnitAnim(x78,x00,x0002,x00)
  1134. RotateUnit(x78,x00,x08,x00,x00,x00)
  1135. BlockEnd()
  1136.  
  1137. BlockStart()
  1138. Wait(00055)
  1139. WalkTo(x7A,x00,006,010,x00,x00,+008,x01)
  1140. WaitWalk(x7A,x00)
  1141. UnitAnim(x7A,x00,x0002,x00)
  1142. RotateUnit(x7A,x00,x00,x00,x00,x00)
  1143. BlockEnd()
  1144.  
  1145. WaitForInstruction(x04,x00)
  1146.  
  1147. WaitWalk(x02,x00)
  1148. Wait(00012)
  1149. SpriteMove(x02,x00,-00004,+00000,+00000,x00,x01,+00018)
  1150. WaitSpriteMove(x02,x00)
  1151.  
  1152. Camera(+00746,-00352,+00740,+00302,+02560,+00000,+04096,+00060)
  1153. WaitForInstruction(x04,x00)
  1154.  
  1155. EditBGSound(x0D,+000,+000,x01,x00)
  1156.  
  1157. WaitWalk(x78,x00)
  1158. WaitWalk(x79,x00)
  1159. WaitWalk(x7A,x00)
  1160. WaitWalk(x7B,x00)
  1161.  
  1162. BlockStart()
  1163. Wait(00012)
  1164. UnitAnim(x78,x00,x0021,x00)
  1165. Wait(00008)
  1166. UnitAnim(x78,x00,x0016,x00)
  1167. Wait(00008)
  1168. UnitAnim(x02,x00,x0202,x00)
  1169. SpriteMove(x02,x00,+00003,+00000,+00000,x00,x01,+00010)
  1170. WaitSpriteMove(x02,x00)
  1171. UnitAnim(x79,x00,x0021,x00)
  1172. UnitAnim(x02,x00,x0203,x00)
  1173. Wait(00007)
  1174. UnitAnim(x7A,x00,x0021,x00)
  1175. Wait(00007)
  1176. UnitAnim(x7B,x00,x0021,x00)
  1177. UnitAnim(x02,x00,x0204,x00)
  1178. BlockEnd()
  1179.  
  1180. Effect(x021B,x80,005,007,x00)
  1181. EffectStart()
  1182. EventSpeed(x02)
  1183. EffectEnd()
  1184. //Worker 7 Activation Anim's
  1185. BlockStart()
  1186. UnitAnim(x80,x00,x025A,x00)
  1187. Wait(00008)
  1188. UnitAnim(x80,x00,x025B,x00)
  1189. Wait(00020)
  1190. UnitAnim(x80,x00,x025C,x00)
  1191. Wait(00004)
  1192. UnitAnim(x80,x00,x025D,x00)
  1193. Wait(00004)
  1194. UnitAnim(x80,x00,x025E,x00)
  1195. Wait(00006)
  1196. UnitAnim(x80,x00,x025F,x00)
  1197. Wait(00002)
  1198. UnitAnim(x80,x00,x0260,x00)
  1199. Wait(00002)
  1200. UnitAnim(x80,x00,x0261,x00)
  1201. Wait(00006)
  1202. UnitAnim(x80,x00,x0262,x00)
  1203. Wait(00010)
  1204. UnitAnim(x80,x00,x0263,x00)
  1205. Wait(00002)
  1206. UnitAnim(x80,x00,x0264,x00)
  1207. Wait(00002)
  1208. UnitAnim(x80,x00,x0265,x00)
  1209. Wait(00006)
  1210. UnitAnim(x80,x00,x0266,x00)
  1211. Wait(00010)
  1212. UnitAnim(x80,x00,x0267,x00)
  1213. Wait(00002)
  1214. UnitAnim(x80,x00,x0268,x00)
  1215. Wait(00004)
  1216. UnitAnim(x80,x00,x0269,x00)
  1217. Wait(00004)
  1218. UnitAnim(x80,x00,x026A,x00)
  1219. Wait(00004)
  1220. UnitAnim(x80,x00,x026B,x00)
  1221. Wait(00014)
  1222. UnitAnim(x80,x00,x026C,x00)
  1223. Wait(00004)
  1224. UnitAnim(x80,x00,x026D,x00)
  1225. Wait(00004)
  1226. UnitAnim(x80,x00,x026E,x00)
  1227. Wait(00030)
  1228. UnitAnim(x80,x00,x026D,x00)
  1229. Wait(00001)
  1230. UnitAnim(x80,x00,x026E,x00)
  1231. Wait(00008)
  1232. UnitAnim(x80,x00,x026D,x00)
  1233. Wait(00001)
  1234. UnitAnim(x80,x00,x026E,x00)
  1235. Wait(00006)
  1236. UnitAnim(x80,x00,x026D,x00)
  1237. Wait(00002)
  1238. UnitAnim(x80,x00,x026E,x00)
  1239. Wait(00005)
  1240. UnitAnim(x80,x00,x026D,x00)
  1241. Wait(00003)
  1242. UnitAnim(x80,x00,x026E,x00)
  1243. Wait(00004)
  1244. UnitAnim(x80,x00,x026D,x00)
  1245. Wait(00004)
  1246. UnitAnim(x80,x00,x026E,x00)
  1247. Wait(00004)
  1248. UnitAnim(x80,x00,x026D,x00)
  1249. Wait(00004)
  1250. UnitAnim(x80,x00,x026E,x00)
  1251. Wait(00002)
  1252. UnitAnim(x80,x00,x026D,x00)
  1253. Wait(00006)
  1254. UnitAnim(x80,x00,x026E,x00)
  1255. Wait(00002)
  1256. UnitAnim(x80,x00,x026D,x00)
  1257. Wait(00006)
  1258. UnitAnim(x80,x00,x026E,x00)
  1259. Wait(00001)
  1260. UnitAnim(x80,x00,x026D,x00)
  1261. Wait(00008)
  1262. UnitAnim(x80,x00,x026E,x00)
  1263. Wait(00001)
  1264. UnitAnim(x80,x00,x026D,x00)
  1265. Wait(00009)
  1266. UnitAnim(x80,x00,x026E,x00)
  1267. Wait(00001)
  1268. UnitAnim(x80,x00,x026D,x00)
  1269. Wait(00010)
  1270. UnitAnim(x80,x00,x026E,x00)
  1271. Wait(00010)
  1272. BlockEnd()
  1273. WaitForInstruction(x41,x00)
  1274. EventSpeed(x01)
  1275. Wait(00096)
  1276.  
  1277. DisplayMessage(x10,x12,x000B,x80,x00,x00,+00000,+00000,+00000,x01)
  1278. WaitForInstruction(x01,x00)
  1279.  
  1280. Camera(+00746,-00382,+00740,+00302,+02560,+00000,+08192,+00030)
  1281. WaitForInstruction(x04,x00)
  1282.  
  1283. DisplayMessage(x10,x12,x000C,x80,x00,x00,+00000,+00100,+00000,x01)
  1284. WaitForInstruction(x01,x00)
  1285.  
  1286. PlayTrack(x06)
  1287.  
  1288. //Set Var x0070 to x0006 to make the next part of the event play when the player wins
  1289. SET(x0070,x0007)
  1290.  
  1291. EventSpeed(x02)
  1292. DarkScreen(x00,x03,012,064,x00,004)
  1293. WaitForInstruction(x36,x00)
  1294. DisplayConditions(x2A,090)
  1295. Wait(00040)
  1296. ColorUnit(x80,x00,x04,+012,+020,+031,000)
  1297. Wait(00012)
  1298. ColorUnit(x80,x00,x08,+000,+000,+000,004)
  1299. Wait(00033)
  1300. WaitForInstruction(x38,x00)
  1301. DisplayConditions(x00,090)
  1302. WaitForInstruction(x38,x00)
  1303. RemoveDarkScreen()
  1304. WaitForInstruction(x36,x00)
  1305. EventSpeed(x01)
  1306.  
  1307. Jump(x80,x00,001,x02)
  1308.  
  1309. Camera(+00746,-00352,+00740,+00302,+02560,+00000,+04096,+00060)
  1310. WaitForInstruction(x04,x00)
  1311.  
  1312. //Jump to the end of the event to make the battle start
  1313. JumpForward(x01)
  1314.  
  1315. //PART 8
  1316.  
  1317. ForwardTarget(x08)
  1318.  
  1319. FadeSound(x00,090)
  1320.  
  1321. UnitAnim(x01,x01,x0002,x00)
  1322. Wait(00012)
  1323.  
  1324. FaceUnit(x80,x00,x01,x01,x00,x00,x00)
  1325. WaitRotateAll()
  1326.  
  1327. CameraSpeedCurve(xAA)
  1328. Focus(x80,x00,x80,x00,x00)
  1329. Camera(+01253,+04352,+00000,+00302,+00512,+00000,+04096,+00032)
  1330. WaitForInstruction(x04,x00)
  1331. Wait(00016)
  1332. InflictStatus(x80,x00,x00,x0C,x00)
  1333. Wait(00010)
  1334. DisplayMessage(x10,x11,x000D,x80,x00,x00,+00000,+00000,+00000,x01)
  1335. WaitForInstruction(x01,x00)
  1336. BgSound(x0B,+000,+126,x01,240)
  1337. Wait(00030)
  1338. //Vanilla likes to ramp up the Earthquakes steadily, so I do that here as well
  1339. EarthquakeStart(001,002,000,001)
  1340. Wait(00020)
  1341. EarthquakeEnd()
  1342. EarthquakeStart(002,002,000,001)
  1343. Wait(00020)
  1344. EarthquakeEnd()
  1345. EarthquakeStart(003,002,000,001)
  1346. Wait(00080)
  1347. EditBGSound(x0B,+126,+000,x01,xF0)
  1348. Effect(x0115,x80,000,000,x00)
  1349. EffectStart()
  1350. EventSpeed(x02)
  1351. EffectEnd()
  1352. Wait(00060)
  1353. Erase(x80,x00)
  1354. WaitForInstruction(x41,x00)
  1355. EarthquakeEnd()
  1356. Wait(00045)
  1357.  
  1358. DarkScreen(x00,x01,012,064,x00,004)
  1359. WaitForInstruction(x36,x00)
  1360. DisplayConditions(x02,060)
  1361. WaitForInstruction(x38,x00)
  1362. DisplayConditions(x03,060)
  1363. WaitForInstruction(x38,x00)
  1364. DisplayConditions(x04,060)
  1365. WaitForInstruction(x38,x00)
  1366. DisplayConditions(x05,060)
  1367. WaitForInstruction(x38,x00)
  1368. DisplayConditions(x06,060)
  1369. WaitForInstruction(x38,x00)
  1370. DisplayConditions(x07,060)
  1371. WaitForInstruction(x38,x00)
  1372. RemoveDarkScreen()
  1373. WaitForInstruction(x36,x00)
  1374. EventSpeed(x01)
  1375.  
  1376. //Set current world map location to Mandalia Plains, since Thieves Fort is set to always trigger
  1377. //This event in chapters 2/3, and we don't want the player stuck in an infinite loop
  1378. SET(x0031,x0018)
  1379.  
  1380. //Now we want the battle series to end, so send the player back to the world map
  1381. PostEvent(x80,x0000)
  1382.  
  1383. ColorScreen(x02,000,000,000,255,255,255,+00120)
  1384. WaitForInstruction(x0C,x00)
  1385.  
  1386. //END
  1387. ForwardTarget(x01)
  1388. EventEnd()
  1389.  
  1390. //INSTRUCTION SECTION END - TEXT START
  1391. //Message x01
  1392. {font:08}{Ramza}{br}
  1393. {font:00}What is that?{end}
  1394.  
  1395. //Message x02
  1396. {font:08}{Ramza}{br}
  1397. {font:00}Some kind of metal orb.{end}
  1398.  
  1399. //Message x03
  1400. {font:08}Robotic Voice{br}
  1401. {font:00}WOULD YOU ATTEMPT THE{br}
  1402. CHALLENGE OF THE MAP MAKER?{end}
  1403.  
  1404. //Message x04
  1405. {font:08}{Ramza}{br}
  1406. {font:00}{FB}1. Accept the challenge!{br}
  1407. 2. Refuse the challenge.{FC}{close}
  1408.  
  1409. //Message x05
  1410. {font:08}{Ramza}{br}
  1411. {font:00}I... Accept..?{end}
  1412.  
  1413. //Message x06
  1414. {font:08}Robotic Voice{br}
  1415. {font:00}CHALLENGE HAS BEEN ACCEPTED.{br}
  1416. LET THE GAMES BEGIN!{br}
  1417. DEFEAT ALL{br}
  1418. ENEMIES TO EARN{br}
  1419. YOUR PRIZE!{end}
  1420.  
  1421. //Message x07
  1422. {font:08}{Ramza}{br}
  1423. {font:00}I guess we signed up for this.{br}
  1424. Eeeaaaarrrrggghhh!{end}
  1425.  
  1426. //Message x08
  1427. {font:08}{Ramza}{br}
  1428. {font:00}Is that all?{end}
  1429.  
  1430. //Message x09
  1431. {font:08}{Ramza}{br}
  1432. {font:00}No. The challenge continues.{end}
  1433.  
  1434. //Message x0A
  1435. {font:08}{Ramza}{br}
  1436. {font:00}We're back where we started.{end}
  1437.  
  1438. //Message x0B
  1439. {font:08}Robotic Voice{br}
  1440. {font:00}AND NOW, THE FINAL BATTLE.{end}
  1441.  
  1442. //Message x0C
  1443. {font:08}Robotic Voice{br}
  1444. {font:00}DEFEAT ME{br}
  1445. TO CLAIM THE PRIZE!{end}
  1446.  
  1447. //Message x0D
  1448. {font:08}Robotic Voice{br}
  1449. {font:00}CONGRATULATIONS!{br}
  1450. {br}
  1451. ...{br}
  1452. And thanks for playing{br}
  1453. the map pack! ;){end}
RAW Paste Data