Last weapon: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) No edit summary |
Overkill666 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
This is set to the currently selected weapon when the player attempts to switch to | This is set to the currently selected weapon when the player attempts to switch to another weapon. While the ID of the weapon is changed the instant the weapon starts to change, the tile that is drawn on screen is only set after weapon_pos reaches -9, and during that moment last_weapon is used to store the tile of the last weapon. | ||
See [[WEAPON]] for the list of weapon IDs. | See [[WEAPON]] for the list of weapon IDs. | ||
[[Category:Player structure members]] | [[Category:Player structure members]] |
Revision as of 13:48, 18 July 2012
This is set to the currently selected weapon when the player attempts to switch to another weapon. While the ID of the weapon is changed the instant the weapon starts to change, the tile that is drawn on screen is only set after weapon_pos reaches -9, and during that moment last_weapon is used to store the tile of the last weapon.
See WEAPON for the list of weapon IDs.