Item duplication glitch: Difference between revisions

m
Line 46: Line 46:
When an item is tossed, each item below it is copied upward one space, starting with the item directly below the tossed item and going down. However, when the game encounters a pile of quantity ×255 while going down the list, it is copied up, but the items after it are not, leaving two adjacent piles of ×255 of the same item. The game still decreases its count of the total number of inventory items by one (which accounts for the messed up Cancel button).
When an item is tossed, each item below it is copied upward one space, starting with the item directly below the tossed item and going down. However, when the game encounters a pile of quantity ×255 while going down the list, it is copied up, but the items after it are not, leaving two adjacent piles of ×255 of the same item. The game still decreases its count of the total number of inventory items by one (which accounts for the messed up Cancel button).


When the game goes down the list on this copying spree, encountering an FF byte signals to cancel the action for the button and stop copying, evev though in this case the FF byte is for item quantity, not item type. Under normal cases, nobody would have ×255 of an item anyway. Under normal cases, since the Cancel button masks anything after it, the game doesn't have to delete the extra Cancel button left behind after copying the cancel button up one space.
When the game goes down the list on this copying spree, encountering an FF byte signals to cancel the action for the button and stop copying, even though in this case the FF byte is for item quantity, not item type. Under normal cases, nobody would have ×255 of an item anyway. Under normal cases, since the Cancel button masks anything after it, the game doesn't have to delete the extra Cancel button left behind after copying the cancel button up one space.


===Video===
===Video===
41

edits