Grrrol v1.0.1
by SilverBuckeye, LucasD10, and TheMarioMan
Changelog
- Fixed Grrrol Landing Effects
- Fixed Spawner Grrrols not dying
Requirements
- Knowledge about how to install this kind of stuff (at least the basics)
- Kamek 1.3.X (changes may have to be made for Newer 1.2.X)
- More sprites by AboodXD & Nin0
- Sprite Data Utils by RedStoneMatt and Synel
Kamek
- Add
src/grrrol.cppandsrc/grrrolSpawner.cppin yoursrcfolder - Add
include/UnitType.h,include/dMultiMng_c.h, andinclude/timekeeper.hin yourincludefolder if you do not have them already - Add
grrrol.yamlandgrrrolSpawner.yamlin yourKamekfolder - Reference the
grrrol.yamlandgrrrolSpawner.yamlin yourNewerProject.yaml - Add the code for the "more sprite stuff" using
GrrrolandGrrrolSpawnerfor the ProfileID and SpriteID - Add these addresses to your
kamek_pal.x:
instance__10dScStage_c = 0x8042a4a8;
DisplayScoreAddPopup = 0x800B3540;
AddScore = 0x80060690;- Open
src/levelspecial.cppand add this at the very end of the file if it doesn't exist:
#undef timeThe next few parts only have to be done for Newer 1.3.X
- In
src/grrrol.cpp, replaceif (!block || block->isDeleted)with this:
if (!block || block->_B)- In
src/grrrol.cpp, replaceu8 playerId = blockMain->playerID;with this:
u8 playerId = blockMain->_694;- In
src/grrrol.cpp, replacereturn sColl && sColl->owner && !sColl->owner->isDeletedwith this:
return sColl && sColl->owner && !sColl->owner->_B- In
src/grrrol.cpp, replaceif (!spawner || spawner->isDeleted || spawner->currentLayerID != this->currentLayerID)with this:
if (!spawner || spawner->_B || spawner->currentLayerID != this->currentLayerID)- In
src/grrrolSpawner.cpp, replacefBase_c *child = fBase_c::searchById(childID);with this:
child = fBase_c::search(childID)- In
src/grrrolSpawner.cpp, replaceif (child && !child->isDeleted && child->profileId == ProfileId::Grrrol) {with this:
if (child && !child->_B && child->profileId == ProfileId::Grrrol) {- Compile your code
Game
- Add the arc file into the
SpriteTexfolder orObjectif you're on NSMBWer+
Reggie
- Add the content of
spritedata.xmlinto yourspritedata.xmllike every other sprites (replace XXX & YYY with the sprite IDs) - Add the content of
sprites.pyinto yoursprites.pylike every other sprites (replace XXX & YYY with the sprite IDs)⚠️ and don't forget to reference the new class in the list at the end⚠️ - Add the images in the
spritesfolder into yourspritesfolder - Restart reggie to apply the changes
If I forgot some stuff or if you find a bug, be free to let me know