squid-man / MegaMan2Randomizer2

Mega Man 2 Randomizer
8 stars 4 forks source link

Randomize Pico Spawn Order and Speed #192

Closed TheRealQuantam closed 1 month ago

TheRealQuantam commented 2 months ago

The code and data for this can be seen in https://github.com/ZenkakuHiragana/rockman2/blob/original_rm2/src/obj/pikopiko_kun.asm . For reference, the vanilla spawn order is H2, H5, H8, T2B3, T9B8, H4, H0, T7B6, T0B1, H7, T3B2, T9B8, H6.

Notes for implementation:

Table_PikopikoY

Table_PikopikoX

Table_PikopikoPtr is the offset into Table_PikopikoInfo, and specifies how the unit moves out of the wall: 0: Horizontal movement 8: Vertical movement where the left side comes from the top 10: Vertical movement where the left side comes from the bottom

This should be all the info necessary for this issue.