mirror of
https://github.com/bryanthaboi/gen1recomp
synced 2026-10-07 09:27:38 -04:00
CLOSES #2649, CLOSES #2650, CLOSES #2652, CLOSES #2653, CLOSES #2654, CLOSES #2657, CLOSES #2658, CLOSES #2659, CLOSES #2660, CLOSES #2662, CLOSES #2664, CLOSES #2665, CLOSES #2666, CLOSES #2669, CLOSES #2671, CLOSES #2672, CLOSES #2674, CLOSES #2676, CLOSES #2682, CLOSES #2683, CLOSES #2684, CLOSES #2685, CLOSES #2686, CLOSES #2687, CLOSES #2688, CLOSES #2689
CLOSES #2649, CLOSES #2650, CLOSES #2652, CLOSES #2653, CLOSES #2654, CLOSES #2657, CLOSES #2658, CLOSES #2659, CLOSES #2660, CLOSES #2662, CLOSES #2664, CLOSES #2665, CLOSES #2666, CLOSES #2669, CLOSES #2671, CLOSES #2672, CLOSES #2674, CLOSES #2676, CLOSES #2682, CLOSES #2683, CLOSES #2684, CLOSES #2685, CLOSES #2686, CLOSES #2687, CLOSES #2688, CLOSES #2689
This commit is contained in:
@@ -239,8 +239,9 @@ do
|
||||
Ops.addToPc(S, id)
|
||||
Ops.pcItems(S)[id] = Ops.STACK_MAX
|
||||
S.dirty = false
|
||||
check(Ops.pcAdjust(S, id, 1) == false, "pcAdjust refuses past the 99 stack cap")
|
||||
eq(Ops.pcItems(S)[id], Ops.STACK_MAX, "a refused pcAdjust changes nothing")
|
||||
check(Ops.pcAdjust(S, id, 1) == true, "pcAdjust past 99 opens a second box slot")
|
||||
eq(Ops.pcItems(S)[id], Ops.STACK_MAX + 1, "the PC total passes 99")
|
||||
eq(#Ops.pcOrder(S), seeded + 2, "the PC order lists the id once per slot")
|
||||
|
||||
Ops.pcDrop(S, id)
|
||||
eq(Ops.pcItems(S)[id], nil, "pcDrop removes the entry")
|
||||
|
||||
Reference in New Issue
Block a user