May 21, 2006 at 3:05 AM
Senior Member
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: Apr 14, 2006
Location:
Posts: 112
As I don't think this is documented yet (if it is, slap me upside the head and call me silly), this command doesn't actually have anything to do with the boss fights. What it does is takes the tile at X, Y on the map and changes it to one tile previous in the tileset, similar to blowing up a destroyable block.
This is why on the Sand tileset, tiles 80 and 82 are nearly identical. Before the Omega boss fight, the script runs SMP on the two map coordinates that use tile 82, changing them to 81 to prevent the player from leaving the boss area. After the fight the script runs SMP again, turning those same two into tile 80, allowing the player to exit.
The only reason I could see to use this over CMP, which is more flexible, is that SMP does not create the same smokey effect on the changed tile that CMP does.
This is why on the Sand tileset, tiles 80 and 82 are nearly identical. Before the Omega boss fight, the script runs SMP on the two map coordinates that use tile 82, changing them to 81 to prevent the player from leaving the boss area. After the fight the script runs SMP again, turning those same two into tile 80, allowing the player to exit.
The only reason I could see to use this over CMP, which is more flexible, is that SMP does not create the same smokey effect on the changed tile that CMP does.