Binding of Isaac: Rebirth Wiki
No edit summary
Tag: Source edit
No edit summary
Tag: Source edit
Line 22: Line 22:
 
GB bug uses the following algorithm to determine what the morphed pickup will be:
 
GB bug uses the following algorithm to determine what the morphed pickup will be:
   
  +
local chestPickupVariants = {
local tbl = { 0x32, 0x3C, 0x168, 0x33, 0x35, 0x34, 0x36, 0x186, 0x37, 0x38, 0x39, 0x3A }
 
  +
PickupVariant.PICKUP_CHEST, -- 50
if (contains(tbl, pickupVariant) and (pickupSeed:Next() % 5) == 0) or (pickupSeed:Next() % 10) == 0 then
 
  +
PickupVariant.PICKUP_BOMBCHEST -- 51
  +
PickupVariant.PICKUP_SPIKEDCHEST -- 52
  +
PickupVariant.PICKUP_ETERNALCHEST -- 53
  +
PickupVariant.PICKUP_MIMICCHEST, -- 54
  +
PickupVariant.PICKUP_OLDCHEST, -- 55
  +
PickupVariant.PICKUP_WOODENCHEST, -- 56
  +
PickupVariant.PICKUP_MEGACHEST, -- 57
  +
PickupVariant.PICKUP_HAUNTEDCHEST, -- 58
  +
PickupVariant.PICKUP_LOCKEDCHEST, -- 60
  +
PickupVariant.PICKUP_REDCHEST, -- 360
  +
PickupVariant.PICKUP_MOMSCHEST, -- 390
  +
}
 
if (contains(chestPickupVariants, pickupVariant) and (pickupSeed:Next() % 5) == 0) or (pickupSeed:Next() % 10) == 0 then
 
local newVariant
 
local newVariant
 
if (pickupSeed:Next() & 3) == 0 then
 
if (pickupSeed:Next() & 3) == 0 then
newVariant = 0x3C
+
newVariant = PickupVariant.PICKUP_LOCKEDCHEST
 
else
 
else
newVariant = 0x32
+
newVariant = PickupVariant.PICKUP_CHEST
 
end
 
end
 
pickup:Morph(pickup.Type, newVariant, 0, true, false, false)
 
pickup:Morph(pickup.Type, newVariant, 0, true, false, false)

Revision as of 01:06, 7 September 2021

(except in Rebirth)

GB Bug is an unlockable passive item added in The Binding of Isaac: Afterbirth.

Effects

  • (except in Repentance) Spawns a familiar that bounces diagonally around the room, deals 8 damage per tick or 120 damage per second and applies a random status effect to enemies it comes in contact with. The familiar also has a chance to re-roll pickups that it passes over into other pickups, chests, or items, in an uncleared room only (with at least one enemy alive).
  • (in Repentance) Spawns a familiar that follows Isaac. Double tapping the fire button launches it forward, causing it to reroll the first monster, trinket, or pickup it hits. It respawns after clearing a room.
    • If it cannot reroll an enemy (e.g. a boss), it will deal 8 damage instead.
    • It can also be used to reroll trinkets into pickups.
    • Pickups may also be rerolled into chests.

Algorithm

GB bug uses the following algorithm to determine what the morphed pickup will be:

local chestPickupVariants = {
  PickupVariant.PICKUP_CHEST, -- 50
  PickupVariant.PICKUP_BOMBCHEST -- 51
  PickupVariant.PICKUP_SPIKEDCHEST -- 52
  PickupVariant.PICKUP_ETERNALCHEST -- 53
  PickupVariant.PICKUP_MIMICCHEST, -- 54
  PickupVariant.PICKUP_OLDCHEST, -- 55
  PickupVariant.PICKUP_WOODENCHEST, -- 56
  PickupVariant.PICKUP_MEGACHEST, -- 57
  PickupVariant.PICKUP_HAUNTEDCHEST, -- 58
  PickupVariant.PICKUP_LOCKEDCHEST, -- 60
  PickupVariant.PICKUP_REDCHEST, -- 360
  PickupVariant.PICKUP_MOMSCHEST, -- 390
}
if (contains(chestPickupVariants, pickupVariant) and (pickupSeed:Next() % 5) == 0) or (pickupSeed:Next() % 10) == 0 then
  local newVariant
  if (pickupSeed:Next() & 3) == 0 then
    newVariant = PickupVariant.PICKUP_LOCKEDCHEST
  else
    newVariant = PickupVariant.PICKUP_CHEST
  end
  pickup:Morph(pickup.Type, newVariant, 0, true, false, false)
else
  pickup:Morph(pickup.Type, 0, 1, true, false, false)
end

Notes

  • (except in Repentance) GB Bug can block projectiles.
  • (except in Repentance) GB Bug does more damage per second than Collectible The Peeper iconThe Peeper, with the added random status chance.
  • (in Repentance) GB Bug is able to reroll Throwable Bombs into normal consumables. After doing so, the corresponding Bomb Grimace will generate another Throwable Bomb, making it able to generate a potentially large amount of free consumables.
  • (in Repentance)The TwinsThe Twins: the familiar can be duplicated even if it hasn’t respawned; by constantly moving to new rooms, GB Bug can constantly respawn, allowing pickups to be rerolled indefinitely.

In-game Footage

In Rebirth (except in Repentance)

In Repentance (in Repentance)

Trivia

  • Before Repentance, GB Bug's pickup quote was "Game breaking bug, right away!"
  • This item's in-game appearance may be a reference to "Missingno.", a famous bug occurring in the first Pokémon games.
  • As Edmund confirmed on Twitter the pickup quote "Game breaking bug, right away!" is a reference to a quote by Phil Fish in Indie Game: The Movie, where he says the same words when a bug is discovered in the game "FEZ" on the first day it is being shown at PAX.

Seeds

PC (in Rebirth and Afterbirth) Hard mode only 9B7E 3G67 (Treasure Room adjacent to spawn, curse of the labyrinth)

PC (in Rebirth and Afterbirth) Normal mode only GZWT H4LE (First floor Treasure Room)

PC (except in Repentance) Normal and hard modes only 44W2 XHJ8 (Treasure Room adjacent to spawn)

PC (in Repentance) Normal and hard modes only OCML SLQN (First floor Treasure Room)