Files
isaac-port/notes/items/items_verify_2_cards.md
T

3.9 KiB

Items verify 2: cards (rif/iv2-cards)

UseCard 0x7b2230 cases read with find.sh card ID; case addresses are in use_dispatch.tsv. Port-side results are isaac-classic's tools/reference/rebirth/cards.json comments.

Tarot Cloth boost (UseCard preamble, ~0x7b2390)

  • HasCollectible(0x1c3) and card config +0x58 (type) 0 (tarot) or 5 (reversed tarot): boost flag set (uStack_2a2.1_1). With use flag 4 and without 0x20: UseCard(card, 0x20) first, then the normal use.
  • Cases returning at once under 0x20 (one use, maybe a boosted take): 1-10, 0x3d, 0x3e, 0x46 (and the suits 0x17-0x1a, aces 0x1b-0x1e, which are not boosted types). Boosted takes: 2 Magician + collectible effect 0x22 (Belial); 3 High Priestess a second foot (Entity_Effect::CreateTimer at the runner-up target); 4 Empress effect 0x7a twice; 5 Emperor +2 soul hearts when the boss room's VisitedCount == 0; 6/7 Hierophant/Lovers 3 hearts; 8 Chariot effect 0x4d cooldown x2; 9 Justice two sets; 10 Hermit / 0x12 Stars: FUN_00420ae0() (Game+0x1b83c) +0x24 |= 2 / 1 (reader not found); 0x14 Sun 200 damage; 0x38 Fool? drops up to 3 rerollable non-active passives; 0x3b Empress? 3 containers; 0x3d Hierophant? 3 bone hearts; 0x3e Lovers? 2 items; 0x40 Justice? RandomInt(6) + 2 chests; 0x46 Temperance? 10.
  • Every other tarot / reversed tarot case runs twice (the 0x20 call and the normal one).

tarot cases (Rep+ vs Flash)

  • 0xb Wheel of Fortune 0x7b3138: sound 0x109; Random(100) (FUN_0067f030, range in EDX = 100): 0 crane game 6.16 if unlock 0x25f (else fortune 6.3), 1..25 fortune machine 6.3, else slot 6.1; Spawn(6, v) at a free spot within 40, flag 4.
  • 0xc Strength: Magic Mushroom collectible effect (0xc) for the room, +1 container while under the heart limit (counted at +0x18a0), AddHearts(2). 0xd Hanged Man: effect 0x14. 0xe Death: overlay 12, sound 0x21, UseActiveItem(0x23 Necronomicon). 0xf Temperance: 6.2. 0x10 Devil: effect 0x22. 0x11 Tower: effect 0x41.
  • 0x12 Stars: room type 24 (planetarium) if its room data type is 24, else type 4. 0x13 Moon: type 7. 0x14 Sun: 100 (x2 boosted) to vulnerable enemies (flags 0x1e), SetFullHearts for every live player, ShowMap, StopRain, RemoveCurses(1). 0x15 Judgement: RandomInt(3)==0 devil beggar 6.5; else each RandomInt(50)==0 in turn: 6.13 battery bum, 6.18 rotten beggar (unlock 0x266), 6.7 key master, 6.9 bomb bum; else beggar 6.4. 0x16 World: ShowMap.

suicide_king (0x7b375e) / soul_of_eve (0x7b7d38) / others

  • Suicide King: player Kill (vtable +0x24), last damage flags cleared, then 10 x Spawn(5, table 0xb6bbf0[RandomInt(12)], subtype 0): 10, 20, 30, 40, 50, 60, 70, 90, 100, 300, 350, 360.
  • Soul of Eve: 15 effects 1000.197, from pos + RandomVector * 1000 clamped (-80 - rand * 120 margin), damage x2 with BFFS (0xf7), timeout 300 + Random(150), state Random(90).
  • Berkano 0x26: 3 x Spawn(3.231, subtype 0x19), FUN_005b18f0(1) sets the locust's +0xd76. Algiz: Book of Shadows effect 0x3a with cooldown 600. Dagaz: RemoveCurses(-1), 2 soul halves; Greed (FUN_00429550) also effect 0x278 for 600.
  • Rules Card: RandomFloat < 0.05 FUN_0065d070 (seed line), else Game::ShowRule. Credit Card: only price sprites refreshed (update_price_sprite); the free wares come from the card's effect. Holy Card: null 0x2e + effect 0x139, nothing while 0x2e is held. Ancient Recall: 3 x GetCard(seed, 1, 0, 0) at -90 degree steps x2. Era Walk: null 0x2a + room effect 0xe8 (Stop Watch). Huge Growth: shake 30, null 41 + effect 0x12e (Leo).
  • Queen of Hearts: RandomInt(20) + 1 red hearts. Soul of the Keeper: RandomInt(25) + 1 coins 5.20.0. Soul of Apollyon: 15 (Greed 10) x Spawn(3.43, RandomInt(5) + 1). Soul of Lilith: familiar items (type 4) of pool 0x1c, a random one queued. Soul of the Lost: spawn_ghost_corpse, null 0x70 (count 2), Holy Mantle effect 0x139 for non-Lost.
  • Soul of Azazel: _megaBlastDuration = 240 (90 in Greed). Soul of Samson: effect 0x2c0 for 300.