squid-man / MegaMan2Randomizer2

Mega Man 2 Randomizer
8 stars 5 forks source link

Randomize Pico Spawn Order and Speed #192

Open TheRealQuantam opened 2 weeks ago

TheRealQuantam commented 2 weeks 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.

Table_PikopikoY, Table_PikopikoX, and Table_PikopikoLevel are pretty self-explanatory.

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.