Advertisement
YoniArousement

SOR2: Editing Enemies of each Level (gsaurus)

Feb 5th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.35 KB | None | 0 0
  1. Editing enemies of each level
  2.  
  3. Thanks to Red Crimson who told me where to look at.
  4. For the brave ones, there is a list of word pointers that point to lists of enemies for each level.
  5. pointers are located between 1EF49C - 1EF4AE. Modifying that would allow one to point to his own list of enemies for some level, etc. I wasn't that brave, so I just plaid with the existing lists. Each list as a set of enemies, each enemy is described by 12 words, in this format:
  6.  
  7. TTSS D2PI AAMM ??LL XXXX YYYY EEGG WWHH KKKK NNNN NNNN RRRR
  8.  
  9. T: Type
  10. S: Scene Group (Enemies come in groups, after killing one group entirely, the next group shows up)
  11. D: Difficulty Setting
  12. 2: Appear on a lower Difficulty Setting if 2-Players (Set digit to 3 to disable enemy)
  13. P: Palette ID
  14. I: A.I. Level (Increasing this value makes some enemies do more moves)
  15. A: Animation?
  16. M: Spawning Mode (eg: fall from sky, donovan/garcia with pipe or knife, etc)
  17. L: Limit? it is used on Mr.X punks to keep a max of 3 enemies + boss on screen. It's probably used on some other places too.
  18. X,Y: initial position
  19. E: Energy
  20. G: Grabable Area
  21. W/H: Hitbox (Width and height of the hitting area)
  22. K: Killing Score (Score given when it's killed)
  23. N: Name (Long Pointer to the name displaid, punk names start at 1EFC56)
  24. R: VRAM Address
  25.  
  26. I didn't realize what the ?? bytes are yet, however I suspect that some are a delay used to make an enemy show up after a bit.
  27.  
  28. Example at 1F0DB4:
  29. Code:
  30. 0800 0100 1c00 00a0 0190 0000 020e 4806 0010 001e fc56 0252
  31. TTSS D2PI AAMM ??LL XXXX YYYY EEGG WWHH KKKK NNNN NNNN RRRR
  32.  
  33. gives us the info that it is a garcia (char ID = 08) at group zero, using the default palette. He shows up walking normaly (mode = 00), at position x=0190, y=0000 (dont' worry with y=0, he reposition himself automaticaly due to the playable area limits). He comes with a level of energy of 02 (what it means depends on the dificulty, which multiplies it by some value), etc - I think you got the point.
  34.  
  35. ------------------
  36. Spawning Modes:
  37. ------------------
  38.  
  39. Galsia / Donovan
  40. 00 = normal (walking)
  41. 01 = waiting (sitting)
  42. 02 = jump with pipe (from sewers)
  43. 03 = normal wearing knife
  44. 04 = normal wearing pipe
  45. 05 = lying down (sleeping on benches, etc)
  46. 06 = fall from sky with distance activation
  47. 07 = fall from sky anyway
  48. 08 = waiting (faced right - playing arcade on lvl 3-2)
  49.  
  50. Jack
  51. 00 = normal - green (lvl 3-6)
  52. 01 = come from the dark - blue (lvl 1-1)
  53. 00 = normal - black (lvl 7-2)
  54.  
  55. Barbon
  56. 00 = preparing a drink on the bar (triggered by an electra drinking)
  57. 01 = waiting (with jacket) - boss mode
  58. 02 = normal - enemy mode - dark palette
  59. 03 = waiting (standing) - enemy mode - dark palette
  60. 04 = floating/falling? - enemy mode - orange palette
  61.  
  62. Electra
  63. 00 = normal
  64. 01 = waiting (drinking), act as boss trigger
  65. 02 = fall from sky with distance activation
  66. 03 = fall from sky anyway
  67.  
  68. Y. Signal
  69. 00 = normal
  70. 01 = waiting (standing)
  71. 02 = jump from door (stage 1-2)
  72. 03 = waiting (faced right - playing arcade on lvl 3-2)
  73.  
  74. Biker
  75. 00 = normal
  76. 01 = bike loop
  77. 02 = bike once
  78. 03 = jump out from the bike
  79. 04 = bike throw grenade
  80. 05 = bike jumping - left to right
  81. 06 = bike jumping - right to left
  82. #7 = throw # grenades behind the scene (eg. 57 - throw 5 grenades before falling behind the scene)
  83. 08 = waiting (sitting on the ground)
  84. 09 = waiting (sitting on a wall)
  85. 0A = biker party - standing, left harm
  86. 0B = biker party - sitting, left harm
  87. 0C = biker party - standing, right harm
  88.  
  89. Ninja
  90. 00 = normal
  91. 01 = waiting (sitting)
  92. 02 = waiting (hanging)
  93. 03 = fall from sky
  94.  
  95. Bongo / Hakuyo / Kickboxer / Oxygen
  96. 00 = normal
  97. 01 = waiting (smiling / standing in one leg / lying down / standing)
  98. 02 = fall from sky with distance activation
  99. 03 = fall from sky anyway
  100.  
  101. Jet
  102. 00 = normal - enemy mode - blue
  103. 01 = styled entrance from left to right - boss mode - white
  104. 02 = styled entrance (unused) from bottom to top - boss mode - white
  105.  
  106. Zamza
  107. 00 = normal - boss mode - red palette
  108. 01 = normal - boss mode - red palette
  109. 02 = fall from darkness (special trigger) - boss mode - yellow palette
  110. 03 = fall from sky - enemy mode - blue palette
  111.  
  112. R. Bear
  113. 00 = normal - enemy mode - green palette
  114. 01 = normal - boss mode - normal palette
  115. 02 = fall from sky - enemy mode - green palette
  116.  
  117. Abadede
  118. 00 = normal - enemy mode - red palette
  119. 01 = normal - boss mode - normal palette
  120.  
  121. Mr. X / Shiva / Vehelits
  122. single spawn type
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement