isaacscript-common 59.7.0 → 61.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6128,7 +6128,7 @@ export declare function getMegaSatanDoor(): GridEntityDoor | undefined;
6128
6128
  * pressing down. This returns an array because a player can be holding down more than one movement
6129
6129
  * key at a time.
6130
6130
  */
6131
- export declare function getMoveActions(controllerIndex: ControllerIndex): ButtonAction[];
6131
+ export declare function getMoveButtonActions(controllerIndex: ControllerIndex): ButtonAction[];
6132
6132
 
6133
6133
  /**
6134
6134
  * Helper function to get the corresponding music value for a stage and stage type combination.
@@ -7542,7 +7542,7 @@ export declare function getSetCombinations<T>(set: Set<T> | ReadonlySet<T>, incl
7542
7542
  * pressing down. This returns an array because a player can be holding down more than one shooting
7543
7543
  * key at a time.
7544
7544
  */
7545
- export declare function getShootActions(controllerIndex: ControllerIndex): ButtonAction[];
7545
+ export declare function getShootButtonActions(controllerIndex: ControllerIndex): ButtonAction[];
7546
7546
 
7547
7547
  /**
7548
7548
  * Helper function to get the corresponding "Siren Helper" entity for a stolen familiar.
@@ -8592,6 +8592,30 @@ export declare function isActiveSlotDoubleCharged(player: EntityPlayer, activeSl
8592
8592
  */
8593
8593
  export declare function isActiveSlotEmpty(player: EntityPlayer, activeSlot?: ActiveSlot): boolean;
8594
8594
 
8595
+ /**
8596
+ * Helper function to check if the current game frame count is higher than a specific game frame
8597
+ * count.
8598
+ *
8599
+ * This returns false if the submitted game frame count is null or undefined.
8600
+ */
8601
+ export declare function isAfterGameFrame(gameFrameCount: int | null | undefined): boolean;
8602
+
8603
+ /**
8604
+ * Helper function to check if the current render frame count is higher than a specific render frame
8605
+ * count.
8606
+ *
8607
+ * This returns false if the submitted render frame count is null or undefined.
8608
+ */
8609
+ export declare function isAfterRenderFrame(renderFrameCount: int | null | undefined): boolean;
8610
+
8611
+ /**
8612
+ * Helper function to check if the current room frame count is higher than a specific room frame
8613
+ * count.
8614
+ *
8615
+ * This returns false if the submitted room frame count is null or undefined.
8616
+ */
8617
+ export declare function isAfterRoomFrame(roomFrameCount: int | null | undefined): boolean;
8618
+
8595
8619
  /**
8596
8620
  * Checks for specific NPCs that have "CanShutDoors" set to true naturally by the game, but should
8597
8621
  * not actually keep the doors closed (like Death's scythes).
@@ -9437,30 +9461,6 @@ export declare function isOdd(num: int): boolean;
9437
9461
  */
9438
9462
  export declare function isPassiveOrFamiliarCollectible(collectibleOrCollectibleType: EntityPickup | CollectibleType): boolean;
9439
9463
 
9440
- /**
9441
- * Helper function to check if the current game frame count is higher than a specific game frame
9442
- * count.
9443
- *
9444
- * This returns false if the submitted game frame count is null or undefined.
9445
- */
9446
- export declare function isPastGameFrame(gameFrameCount: int | null | undefined): boolean;
9447
-
9448
- /**
9449
- * Helper function to check if the current render frame count is higher than a specific render frame
9450
- * count.
9451
- *
9452
- * This returns false if the submitted render frame count is null or undefined.
9453
- */
9454
- export declare function isPastRenderFrame(renderFrameCount: int | null | undefined): boolean;
9455
-
9456
- /**
9457
- * Helper function to check if the current room frame count is higher than a specific room frame
9458
- * count.
9459
- *
9460
- * This returns false if the submitted room frame count is null or undefined.
9461
- */
9462
- export declare function isPastRoomFrame(roomFrameCount: int | null | undefined): boolean;
9463
-
9464
9464
  /** Helper function to narrow the type of `PickingUpItem`. */
9465
9465
  export declare function isPickingUpItemCollectible(pickingUpItem: PickingUpItem): pickingUpItem is PickingUpItemCollectible;
9466
9466
 
@@ -14183,9 +14183,9 @@ export declare class ModUpgraded implements Mod {
14183
14183
  */
14184
14184
  declare type ModUpgradedWithFeatures<T extends readonly ISCFeature[] = []> = ModUpgraded & ISCFeaturesToKeys<T>;
14185
14185
 
14186
- export declare const MOVEMENT_ACTIONS: readonly [ButtonAction.LEFT, ButtonAction.RIGHT, ButtonAction.UP, ButtonAction.DOWN];
14186
+ export declare const MOVEMENT_BUTTON_ACTIONS: readonly [ButtonAction.LEFT, ButtonAction.RIGHT, ButtonAction.UP, ButtonAction.DOWN];
14187
14187
 
14188
- export declare const MOVEMENT_ACTIONS_SET: ReadonlySet<ButtonAction>;
14188
+ export declare const MOVEMENT_BUTTON_ACTIONS_SET: ReadonlySet<ButtonAction>;
14189
14189
 
14190
14190
  /**
14191
14191
  * Helper function to move all of the players to where they would normally go when arriving at a new
@@ -14481,52 +14481,52 @@ export declare function onFirstFloor(): boolean;
14481
14481
  export declare function onGameFrame(gameFrameCount: int | null | undefined): boolean;
14482
14482
 
14483
14483
  /**
14484
- * Helper function to check if the current game frame count is equal to or lower than a specific
14484
+ * Helper function to check if the current game frame count is equal to or higher than a specific
14485
14485
  * game frame count.
14486
14486
  *
14487
14487
  * This returns false if the submitted game frame count is null or undefined.
14488
14488
  */
14489
- export declare function onOrBeforeGameFrame(gameFrameCount: int | null | undefined): boolean;
14489
+ export declare function onOrAfterGameFrame(gameFrameCount: int | null | undefined): boolean;
14490
14490
 
14491
14491
  /**
14492
- * Helper function to check if the current render frame count is equal to or lower than a specific
14492
+ * Helper function to check if the current render frame count is equal to or higher than a specific
14493
14493
  * render frame count.
14494
14494
  *
14495
14495
  * This returns false if the submitted render frame count is null or undefined.
14496
14496
  */
14497
- export declare function onOrBeforeRenderFrame(renderFrameCount: int | null | undefined): boolean;
14497
+ export declare function onOrAfterRenderFrame(renderFrameCount: int | null | undefined): boolean;
14498
14498
 
14499
14499
  /**
14500
- * Helper function to check if the current room frame count is equal to or lower than a specific
14500
+ * Helper function to check if the current room frame count is equal to or higher than a specific
14501
14501
  * room frame count.
14502
14502
  *
14503
14503
  * This returns false if the submitted room frame count is null or undefined.
14504
14504
  */
14505
- export declare function onOrBeforeRoomFrame(roomFrameCount: int | null | undefined): boolean;
14505
+ export declare function onOrAfterRoomFrame(roomFrameCount: int | null | undefined): boolean;
14506
14506
 
14507
14507
  /**
14508
- * Helper function to check if the current game frame count is equal to or higher than a specific
14508
+ * Helper function to check if the current game frame count is equal to or lower than a specific
14509
14509
  * game frame count.
14510
14510
  *
14511
14511
  * This returns false if the submitted game frame count is null or undefined.
14512
14512
  */
14513
- export declare function onOrPastGameFrame(gameFrameCount: int | null | undefined): boolean;
14513
+ export declare function onOrBeforeGameFrame(gameFrameCount: int | null | undefined): boolean;
14514
14514
 
14515
14515
  /**
14516
- * Helper function to check if the current render frame count is equal to or higher than a specific
14516
+ * Helper function to check if the current render frame count is equal to or lower than a specific
14517
14517
  * render frame count.
14518
14518
  *
14519
14519
  * This returns false if the submitted render frame count is null or undefined.
14520
14520
  */
14521
- export declare function onOrPastRenderFrame(renderFrameCount: int | null | undefined): boolean;
14521
+ export declare function onOrBeforeRenderFrame(renderFrameCount: int | null | undefined): boolean;
14522
14522
 
14523
14523
  /**
14524
- * Helper function to check if the current room frame count is equal to or higher than a specific
14524
+ * Helper function to check if the current room frame count is equal to or lower than a specific
14525
14525
  * room frame count.
14526
14526
  *
14527
14527
  * This returns false if the submitted room frame count is null or undefined.
14528
14528
  */
14529
- export declare function onOrPastRoomFrame(roomFrameCount: int | null | undefined): boolean;
14529
+ export declare function onOrBeforeRoomFrame(roomFrameCount: int | null | undefined): boolean;
14530
14530
 
14531
14531
  /**
14532
14532
  * Helper function to check if the current render frame count is exactly equal to a specific render
@@ -17243,9 +17243,9 @@ export declare function setUnseeded(): void;
17243
17243
  */
17244
17244
  export declare const sfxManager: SFXManager;
17245
17245
 
17246
- export declare const SHOOTING_ACTIONS: readonly [ButtonAction.SHOOT_LEFT, ButtonAction.SHOOT_RIGHT, ButtonAction.SHOOT_UP, ButtonAction.SHOOT_DOWN];
17246
+ export declare const SHOOTING_BUTTON_ACTIONS: readonly [ButtonAction.SHOOT_LEFT, ButtonAction.SHOOT_RIGHT, ButtonAction.SHOOT_UP, ButtonAction.SHOOT_DOWN];
17247
17247
 
17248
- export declare const SHOOTING_ACTIONS_SET: ReadonlySet<ButtonAction>;
17248
+ export declare const SHOOTING_BUTTON_ACTIONS_SET: ReadonlySet<ButtonAction>;
17249
17249
 
17250
17250
  declare function shouldFireCollectibleType(fireArgs: [player: EntityPlayer, collectibleType: CollectibleType], optionalArgs: [collectibleType?: CollectibleType]): boolean;
17251
17251
 
@@ -1,6 +1,6 @@
1
1
  --[[
2
2
 
3
- isaacscript-common 59.7.0
3
+ isaacscript-common 61.0.0
4
4
 
5
5
  This is the "isaacscript-common" library, which was created with the IsaacScript tool.
6
6
 
@@ -19091,49 +19091,49 @@ function ____exports.getElapsedRoomFramesSince(self, roomFrameCount)
19091
19091
  local thisRoomFrameCount = room:GetFrameCount()
19092
19092
  return thisRoomFrameCount - roomFrameCount
19093
19093
  end
19094
- function ____exports.isBeforeGameFrame(self, gameFrameCount)
19094
+ function ____exports.isAfterGameFrame(self, gameFrameCount)
19095
19095
  if gameFrameCount == nil or gameFrameCount == nil then
19096
19096
  return false
19097
19097
  end
19098
19098
  local thisGameFrameCount = game:GetFrameCount()
19099
- return thisGameFrameCount < gameFrameCount
19099
+ return thisGameFrameCount > gameFrameCount
19100
19100
  end
19101
- function ____exports.isBeforeRenderFrame(self, renderFrameCount)
19101
+ function ____exports.isAfterRenderFrame(self, renderFrameCount)
19102
19102
  if renderFrameCount == nil or renderFrameCount == nil then
19103
19103
  return false
19104
19104
  end
19105
19105
  local thisRenderFrameCount = Isaac.GetFrameCount()
19106
- return thisRenderFrameCount < renderFrameCount
19106
+ return thisRenderFrameCount > renderFrameCount
19107
19107
  end
19108
- function ____exports.isBeforeRoomFrame(self, roomFrameCount)
19108
+ function ____exports.isAfterRoomFrame(self, roomFrameCount)
19109
19109
  if roomFrameCount == nil or roomFrameCount == nil then
19110
19110
  return false
19111
19111
  end
19112
19112
  local room = game:GetRoom()
19113
19113
  local thisGameFrameCount = room:GetFrameCount()
19114
- return thisGameFrameCount < roomFrameCount
19114
+ return thisGameFrameCount > roomFrameCount
19115
19115
  end
19116
- function ____exports.isPastGameFrame(self, gameFrameCount)
19116
+ function ____exports.isBeforeGameFrame(self, gameFrameCount)
19117
19117
  if gameFrameCount == nil or gameFrameCount == nil then
19118
19118
  return false
19119
19119
  end
19120
19120
  local thisGameFrameCount = game:GetFrameCount()
19121
- return thisGameFrameCount > gameFrameCount
19121
+ return thisGameFrameCount < gameFrameCount
19122
19122
  end
19123
- function ____exports.isPastRenderFrame(self, renderFrameCount)
19123
+ function ____exports.isBeforeRenderFrame(self, renderFrameCount)
19124
19124
  if renderFrameCount == nil or renderFrameCount == nil then
19125
19125
  return false
19126
19126
  end
19127
19127
  local thisRenderFrameCount = Isaac.GetFrameCount()
19128
- return thisRenderFrameCount > renderFrameCount
19128
+ return thisRenderFrameCount < renderFrameCount
19129
19129
  end
19130
- function ____exports.isPastRoomFrame(self, roomFrameCount)
19130
+ function ____exports.isBeforeRoomFrame(self, roomFrameCount)
19131
19131
  if roomFrameCount == nil or roomFrameCount == nil then
19132
19132
  return false
19133
19133
  end
19134
19134
  local room = game:GetRoom()
19135
19135
  local thisGameFrameCount = room:GetFrameCount()
19136
- return thisGameFrameCount > roomFrameCount
19136
+ return thisGameFrameCount < roomFrameCount
19137
19137
  end
19138
19138
  function ____exports.onGameFrame(self, gameFrameCount)
19139
19139
  if gameFrameCount == nil or gameFrameCount == nil then
@@ -19142,21 +19142,21 @@ function ____exports.onGameFrame(self, gameFrameCount)
19142
19142
  local thisGameFrameCount = game:GetFrameCount()
19143
19143
  return thisGameFrameCount == gameFrameCount
19144
19144
  end
19145
- function ____exports.onOrBeforeGameFrame(self, gameFrameCount)
19145
+ function ____exports.onOrAfterGameFrame(self, gameFrameCount)
19146
19146
  if gameFrameCount == nil or gameFrameCount == nil then
19147
19147
  return false
19148
19148
  end
19149
19149
  local thisGameFrameCount = game:GetFrameCount()
19150
- return thisGameFrameCount <= gameFrameCount
19150
+ return thisGameFrameCount >= gameFrameCount
19151
19151
  end
19152
- function ____exports.onOrBeforeRenderFrame(self, renderFrameCount)
19152
+ function ____exports.onOrAfterRenderFrame(self, renderFrameCount)
19153
19153
  if renderFrameCount == nil or renderFrameCount == nil then
19154
19154
  return false
19155
19155
  end
19156
19156
  local thisRenderFrameCount = Isaac.GetFrameCount()
19157
- return thisRenderFrameCount <= renderFrameCount
19157
+ return thisRenderFrameCount >= renderFrameCount
19158
19158
  end
19159
- function ____exports.onOrBeforeRoomFrame(self, roomFrameCount)
19159
+ function ____exports.onOrAfterRoomFrame(self, roomFrameCount)
19160
19160
  if roomFrameCount == nil or roomFrameCount == nil then
19161
19161
  return false
19162
19162
  end
@@ -19164,21 +19164,21 @@ function ____exports.onOrBeforeRoomFrame(self, roomFrameCount)
19164
19164
  local thisGameFrameCount = room:GetFrameCount()
19165
19165
  return thisGameFrameCount >= roomFrameCount
19166
19166
  end
19167
- function ____exports.onOrPastGameFrame(self, gameFrameCount)
19167
+ function ____exports.onOrBeforeGameFrame(self, gameFrameCount)
19168
19168
  if gameFrameCount == nil or gameFrameCount == nil then
19169
19169
  return false
19170
19170
  end
19171
19171
  local thisGameFrameCount = game:GetFrameCount()
19172
- return thisGameFrameCount >= gameFrameCount
19172
+ return thisGameFrameCount <= gameFrameCount
19173
19173
  end
19174
- function ____exports.onOrPastRenderFrame(self, renderFrameCount)
19174
+ function ____exports.onOrBeforeRenderFrame(self, renderFrameCount)
19175
19175
  if renderFrameCount == nil or renderFrameCount == nil then
19176
19176
  return false
19177
19177
  end
19178
19178
  local thisRenderFrameCount = Isaac.GetFrameCount()
19179
- return thisRenderFrameCount >= renderFrameCount
19179
+ return thisRenderFrameCount <= renderFrameCount
19180
19180
  end
19181
- function ____exports.onOrPastRoomFrame(self, roomFrameCount)
19181
+ function ____exports.onOrBeforeRoomFrame(self, roomFrameCount)
19182
19182
  if roomFrameCount == nil or roomFrameCount == nil then
19183
19183
  return false
19184
19184
  end
@@ -26549,10 +26549,10 @@ ____exports.MODIFIER_KEYS = {
26549
26549
  Keyboard.RIGHT_ALT,
26550
26550
  Keyboard.RIGHT_SUPER
26551
26551
  }
26552
- ____exports.MOVEMENT_ACTIONS = {ButtonAction.LEFT, ButtonAction.RIGHT, ButtonAction.UP, ButtonAction.DOWN}
26553
- ____exports.MOVEMENT_ACTIONS_SET = __TS__New(ReadonlySet, ____exports.MOVEMENT_ACTIONS)
26554
- ____exports.SHOOTING_ACTIONS = {ButtonAction.SHOOT_LEFT, ButtonAction.SHOOT_RIGHT, ButtonAction.SHOOT_UP, ButtonAction.SHOOT_DOWN}
26555
- ____exports.SHOOTING_ACTIONS_SET = __TS__New(ReadonlySet, ____exports.SHOOTING_ACTIONS)
26552
+ ____exports.MOVEMENT_BUTTON_ACTIONS = {ButtonAction.LEFT, ButtonAction.RIGHT, ButtonAction.UP, ButtonAction.DOWN}
26553
+ ____exports.MOVEMENT_BUTTON_ACTIONS_SET = __TS__New(ReadonlySet, ____exports.MOVEMENT_BUTTON_ACTIONS)
26554
+ ____exports.SHOOTING_BUTTON_ACTIONS = {ButtonAction.SHOOT_LEFT, ButtonAction.SHOOT_RIGHT, ButtonAction.SHOOT_UP, ButtonAction.SHOOT_DOWN}
26555
+ ____exports.SHOOTING_BUTTON_ACTIONS_SET = __TS__New(ReadonlySet, ____exports.SHOOTING_BUTTON_ACTIONS)
26556
26556
  function ____exports.controllerToString(self, controller)
26557
26557
  local key = Controller[controller]
26558
26558
  if key == nil then
@@ -26560,15 +26560,15 @@ function ____exports.controllerToString(self, controller)
26560
26560
  end
26561
26561
  return trimPrefix(nil, key, "BUTTON_")
26562
26562
  end
26563
- function ____exports.getMoveActions(self, controllerIndex)
26563
+ function ____exports.getMoveButtonActions(self, controllerIndex)
26564
26564
  return __TS__ArrayFilter(
26565
- ____exports.MOVEMENT_ACTIONS,
26565
+ ____exports.MOVEMENT_BUTTON_ACTIONS,
26566
26566
  function(____, buttonAction) return Input.IsActionPressed(buttonAction, controllerIndex) end
26567
26567
  )
26568
26568
  end
26569
- function ____exports.getShootActions(self, controllerIndex)
26569
+ function ____exports.getShootButtonActions(self, controllerIndex)
26570
26570
  return __TS__ArrayFilter(
26571
- ____exports.SHOOTING_ACTIONS,
26571
+ ____exports.SHOOTING_BUTTON_ACTIONS,
26572
26572
  function(____, buttonAction) return Input.IsActionPressed(buttonAction, controllerIndex) end
26573
26573
  )
26574
26574
  end
@@ -26622,18 +26622,18 @@ function ____exports.isModifierKeyPressed(self)
26622
26622
  )
26623
26623
  end
26624
26624
  function ____exports.isMoveAction(self, buttonAction)
26625
- return ____exports.MOVEMENT_ACTIONS_SET:has(buttonAction)
26625
+ return ____exports.MOVEMENT_BUTTON_ACTIONS_SET:has(buttonAction)
26626
26626
  end
26627
26627
  function ____exports.isMoveActionPressed(self, controllerIndex)
26628
26628
  return ____exports.isActionPressed(
26629
26629
  nil,
26630
26630
  controllerIndex,
26631
- table.unpack(____exports.MOVEMENT_ACTIONS)
26631
+ table.unpack(____exports.MOVEMENT_BUTTON_ACTIONS)
26632
26632
  )
26633
26633
  end
26634
26634
  function ____exports.isMoveActionPressedOnAnyInput(self)
26635
26635
  return __TS__ArraySome(
26636
- ____exports.MOVEMENT_ACTIONS,
26636
+ ____exports.MOVEMENT_BUTTON_ACTIONS,
26637
26637
  function(____, moveAction) return ____exports.isActionPressedOnAnyInput(nil, moveAction) end
26638
26638
  )
26639
26639
  end
@@ -26641,28 +26641,28 @@ function ____exports.isMoveActionTriggered(self, controllerIndex)
26641
26641
  return ____exports.isActionTriggered(
26642
26642
  nil,
26643
26643
  controllerIndex,
26644
- table.unpack(____exports.MOVEMENT_ACTIONS)
26644
+ table.unpack(____exports.MOVEMENT_BUTTON_ACTIONS)
26645
26645
  )
26646
26646
  end
26647
26647
  function ____exports.isMoveActionTriggeredOnAnyInput(self)
26648
26648
  return __TS__ArraySome(
26649
- ____exports.MOVEMENT_ACTIONS,
26649
+ ____exports.MOVEMENT_BUTTON_ACTIONS,
26650
26650
  function(____, moveAction) return ____exports.isActionTriggeredOnAnyInput(nil, moveAction) end
26651
26651
  )
26652
26652
  end
26653
26653
  function ____exports.isShootAction(self, buttonAction)
26654
- return ____exports.SHOOTING_ACTIONS_SET:has(buttonAction)
26654
+ return ____exports.SHOOTING_BUTTON_ACTIONS_SET:has(buttonAction)
26655
26655
  end
26656
26656
  function ____exports.isShootActionPressed(self, controllerIndex)
26657
26657
  return ____exports.isActionPressed(
26658
26658
  nil,
26659
26659
  controllerIndex,
26660
- table.unpack(____exports.SHOOTING_ACTIONS)
26660
+ table.unpack(____exports.SHOOTING_BUTTON_ACTIONS)
26661
26661
  )
26662
26662
  end
26663
26663
  function ____exports.isShootActionPressedOnAnyInput(self)
26664
26664
  return __TS__ArraySome(
26665
- ____exports.SHOOTING_ACTIONS,
26665
+ ____exports.SHOOTING_BUTTON_ACTIONS,
26666
26666
  function(____, shootAction) return ____exports.isActionPressedOnAnyInput(nil, shootAction) end
26667
26667
  )
26668
26668
  end
@@ -26670,12 +26670,12 @@ function ____exports.isShootActionTriggered(self, controllerIndex)
26670
26670
  return ____exports.isActionTriggered(
26671
26671
  nil,
26672
26672
  controllerIndex,
26673
- table.unpack(____exports.SHOOTING_ACTIONS)
26673
+ table.unpack(____exports.SHOOTING_BUTTON_ACTIONS)
26674
26674
  )
26675
26675
  end
26676
26676
  function ____exports.isShootActionTriggeredOnAnyInput(self)
26677
26677
  return __TS__ArraySome(
26678
- ____exports.SHOOTING_ACTIONS,
26678
+ ____exports.SHOOTING_BUTTON_ACTIONS,
26679
26679
  function(____, shootAction) return ____exports.isActionTriggeredOnAnyInput(nil, shootAction) end
26680
26680
  )
26681
26681
  end
@@ -29605,7 +29605,7 @@ local ____exports = {}
29605
29605
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
29606
29606
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
29607
29607
  local ____frames = require("src.functions.frames")
29608
- local isPastRoomFrame = ____frames.isPastRoomFrame
29608
+ local isAfterRoomFrame = ____frames.isAfterRoomFrame
29609
29609
  local ____roomData = require("src.functions.roomData")
29610
29610
  local getRoomVisitedCount = ____roomData.getRoomVisitedCount
29611
29611
  local ____shouldFire = require("src.shouldFire")
@@ -29622,7 +29622,7 @@ function PostPickupInitFirst.prototype.____constructor(self)
29622
29622
  self.shouldFire = shouldFirePickup
29623
29623
  self.postPickupInit = function(____, pickup)
29624
29624
  local roomVisitedCount = getRoomVisitedCount(nil)
29625
- if isPastRoomFrame(nil, 0) or roomVisitedCount == 0 then
29625
+ if isAfterRoomFrame(nil, 0) or roomVisitedCount == 0 then
29626
29626
  self:fire(pickup)
29627
29627
  end
29628
29628
  end
@@ -37909,7 +37909,7 @@ local SerializationType = ____SerializationType.SerializationType
37909
37909
  local ____deepCopy = require("src.functions.deepCopy")
37910
37910
  local deepCopy = ____deepCopy.deepCopy
37911
37911
  local ____frames = require("src.functions.frames")
37912
- local isPastGameFrame = ____frames.isPastGameFrame
37912
+ local isAfterGameFrame = ____frames.isAfterGameFrame
37913
37913
  local ____log = require("src.functions.log")
37914
37914
  local log = ____log.log
37915
37915
  local ____stage = require("src.functions.stage")
@@ -37962,7 +37962,7 @@ function SaveDataManager.prototype.____constructor(self, mod)
37962
37962
  self.inARun = true
37963
37963
  self.restoreGlowingHourGlassDataOnNextRoom = false
37964
37964
  loadFromDisk(nil, self.mod, self.saveDataMap, self.classConstructors)
37965
- local isContinued = isPastGameFrame(nil, 0)
37965
+ local isContinued = isAfterGameFrame(nil, 0)
37966
37966
  if not isContinued then
37967
37967
  restoreDefaultsForAllFeaturesAndKeys(nil, self.saveDataMap, self.saveDataDefaultsMap)
37968
37968
  end
@@ -41875,8 +41875,8 @@ local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
41875
41875
  local ____decorators = require("src.decorators")
41876
41876
  local Exported = ____decorators.Exported
41877
41877
  local ____input = require("src.functions.input")
41878
- local MOVEMENT_ACTIONS_SET = ____input.MOVEMENT_ACTIONS_SET
41879
- local SHOOTING_ACTIONS_SET = ____input.SHOOTING_ACTIONS_SET
41878
+ local MOVEMENT_BUTTON_ACTIONS_SET = ____input.MOVEMENT_BUTTON_ACTIONS_SET
41879
+ local SHOOTING_BUTTON_ACTIONS_SET = ____input.SHOOTING_BUTTON_ACTIONS_SET
41880
41880
  local ____ReadonlySet = require("src.types.ReadonlySet")
41881
41881
  local ReadonlySet = ____ReadonlySet.ReadonlySet
41882
41882
  local ____Feature = require("src.classes.private.Feature")
@@ -41958,11 +41958,11 @@ function DisableInputs.prototype.disableAllInputsExceptFor(self, key, whitelist)
41958
41958
  end
41959
41959
  __TS__DecorateLegacy({Exported}, DisableInputs.prototype, "disableAllInputsExceptFor", true)
41960
41960
  function DisableInputs.prototype.disableMovementInputs(self, key)
41961
- self:enableAllInputsExceptFor(key, MOVEMENT_ACTIONS_SET)
41961
+ self:enableAllInputsExceptFor(key, MOVEMENT_BUTTON_ACTIONS_SET)
41962
41962
  end
41963
41963
  __TS__DecorateLegacy({Exported}, DisableInputs.prototype, "disableMovementInputs", true)
41964
41964
  function DisableInputs.prototype.disableShootingInputs(self, key)
41965
- self:enableAllInputsExceptFor(key, SHOOTING_ACTIONS_SET)
41965
+ self:enableAllInputsExceptFor(key, SHOOTING_BUTTON_ACTIONS_SET)
41966
41966
  end
41967
41967
  __TS__DecorateLegacy({Exported}, DisableInputs.prototype, "disableShootingInputs", true)
41968
41968
  return ____exports
@@ -42495,9 +42495,9 @@ local TrapdoorAnimation = ____TrapdoorAnimation.TrapdoorAnimation
42495
42495
  local ____easing = require("src.functions.easing")
42496
42496
  local easeOutSine = ____easing.easeOutSine
42497
42497
  local ____frames = require("src.functions.frames")
42498
+ local isAfterRoomFrame = ____frames.isAfterRoomFrame
42498
42499
  local isBeforeRenderFrame = ____frames.isBeforeRenderFrame
42499
- local isPastRoomFrame = ____frames.isPastRoomFrame
42500
- local onOrPastRenderFrame = ____frames.onOrPastRenderFrame
42500
+ local onOrAfterRenderFrame = ____frames.onOrAfterRenderFrame
42501
42501
  local ____log = require("src.functions.log")
42502
42502
  local log = ____log.log
42503
42503
  local ____playerCenter = require("src.functions.playerCenter")
@@ -42765,7 +42765,7 @@ function CustomTrapdoors.prototype.isPlayerCloseAfterBoss(self, position)
42765
42765
  local room = game:GetRoom()
42766
42766
  local roomType = room:GetType()
42767
42767
  local roomClearGameFrame = self.roomClearFrame:getRoomClearGameFrame()
42768
- if roomType ~= RoomType.BOSS or roomClearGameFrame == nil or onOrPastRenderFrame(nil, roomClearGameFrame + TRAPDOOR_BOSS_REACTION_FRAMES) then
42768
+ if roomType ~= RoomType.BOSS or roomClearGameFrame == nil or onOrAfterRenderFrame(nil, roomClearGameFrame + TRAPDOOR_BOSS_REACTION_FRAMES) then
42769
42769
  return false
42770
42770
  end
42771
42771
  return anyPlayerCloserThan(nil, position, TRAPDOOR_OPEN_DISTANCE_AFTER_BOSS)
@@ -42876,7 +42876,7 @@ end
42876
42876
  function CustomTrapdoors.prototype.shouldTrapdoorSpawnOpen(self, gridEntity, firstSpawn)
42877
42877
  local room = game:GetRoom()
42878
42878
  local roomClear = room:IsClear()
42879
- if isPastRoomFrame(nil, 0) then
42879
+ if isAfterRoomFrame(nil, 0) then
42880
42880
  return false
42881
42881
  end
42882
42882
  if not roomClear then
@@ -42919,7 +42919,7 @@ function CustomTrapdoors.prototype.spawnCustomTrapdoor(self, gridIndexOrPosition
42919
42919
  anm2Path,
42920
42920
  TrapdoorAnimation.OPENED
42921
42921
  )
42922
- local firstSpawn = isPastRoomFrame(nil, 0)
42922
+ local firstSpawn = isAfterRoomFrame(nil, 0)
42923
42923
  local ____spawnOpen_0 = spawnOpen
42924
42924
  if ____spawnOpen_0 == nil then
42925
42925
  ____spawnOpen_0 = self:shouldTrapdoorSpawnOpen(gridEntity, firstSpawn)
@@ -7,7 +7,7 @@ local ____exports = {}
7
7
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
8
8
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
9
9
  local ____frames = require("src.functions.frames")
10
- local isPastRoomFrame = ____frames.isPastRoomFrame
10
+ local isAfterRoomFrame = ____frames.isAfterRoomFrame
11
11
  local ____roomData = require("src.functions.roomData")
12
12
  local getRoomVisitedCount = ____roomData.getRoomVisitedCount
13
13
  local ____shouldFire = require("src.shouldFire")
@@ -24,7 +24,7 @@ function PostPickupInitFirst.prototype.____constructor(self)
24
24
  self.shouldFire = shouldFirePickup
25
25
  self.postPickupInit = function(____, pickup)
26
26
  local roomVisitedCount = getRoomVisitedCount(nil)
27
- if isPastRoomFrame(nil, 0) or roomVisitedCount == 0 then
27
+ if isAfterRoomFrame(nil, 0) or roomVisitedCount == 0 then
28
28
  self:fire(pickup)
29
29
  end
30
30
  end
@@ -41,9 +41,9 @@ local TrapdoorAnimation = ____TrapdoorAnimation.TrapdoorAnimation
41
41
  local ____easing = require("src.functions.easing")
42
42
  local easeOutSine = ____easing.easeOutSine
43
43
  local ____frames = require("src.functions.frames")
44
+ local isAfterRoomFrame = ____frames.isAfterRoomFrame
44
45
  local isBeforeRenderFrame = ____frames.isBeforeRenderFrame
45
- local isPastRoomFrame = ____frames.isPastRoomFrame
46
- local onOrPastRenderFrame = ____frames.onOrPastRenderFrame
46
+ local onOrAfterRenderFrame = ____frames.onOrAfterRenderFrame
47
47
  local ____log = require("src.functions.log")
48
48
  local log = ____log.log
49
49
  local ____playerCenter = require("src.functions.playerCenter")
@@ -312,7 +312,7 @@ function CustomTrapdoors.prototype.isPlayerCloseAfterBoss(self, position)
312
312
  local room = game:GetRoom()
313
313
  local roomType = room:GetType()
314
314
  local roomClearGameFrame = self.roomClearFrame:getRoomClearGameFrame()
315
- if roomType ~= RoomType.BOSS or roomClearGameFrame == nil or onOrPastRenderFrame(nil, roomClearGameFrame + TRAPDOOR_BOSS_REACTION_FRAMES) then
315
+ if roomType ~= RoomType.BOSS or roomClearGameFrame == nil or onOrAfterRenderFrame(nil, roomClearGameFrame + TRAPDOOR_BOSS_REACTION_FRAMES) then
316
316
  return false
317
317
  end
318
318
  return anyPlayerCloserThan(nil, position, TRAPDOOR_OPEN_DISTANCE_AFTER_BOSS)
@@ -423,7 +423,7 @@ end
423
423
  function CustomTrapdoors.prototype.shouldTrapdoorSpawnOpen(self, gridEntity, firstSpawn)
424
424
  local room = game:GetRoom()
425
425
  local roomClear = room:IsClear()
426
- if isPastRoomFrame(nil, 0) then
426
+ if isAfterRoomFrame(nil, 0) then
427
427
  return false
428
428
  end
429
429
  if not roomClear then
@@ -466,7 +466,7 @@ function CustomTrapdoors.prototype.spawnCustomTrapdoor(self, gridIndexOrPosition
466
466
  anm2Path,
467
467
  TrapdoorAnimation.OPENED
468
468
  )
469
- local firstSpawn = isPastRoomFrame(nil, 0)
469
+ local firstSpawn = isAfterRoomFrame(nil, 0)
470
470
  local ____spawnOpen_0 = spawnOpen
471
471
  if ____spawnOpen_0 == nil then
472
472
  ____spawnOpen_0 = self:shouldTrapdoorSpawnOpen(gridEntity, firstSpawn)
@@ -12,8 +12,8 @@ local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
12
12
  local ____decorators = require("src.decorators")
13
13
  local Exported = ____decorators.Exported
14
14
  local ____input = require("src.functions.input")
15
- local MOVEMENT_ACTIONS_SET = ____input.MOVEMENT_ACTIONS_SET
16
- local SHOOTING_ACTIONS_SET = ____input.SHOOTING_ACTIONS_SET
15
+ local MOVEMENT_BUTTON_ACTIONS_SET = ____input.MOVEMENT_BUTTON_ACTIONS_SET
16
+ local SHOOTING_BUTTON_ACTIONS_SET = ____input.SHOOTING_BUTTON_ACTIONS_SET
17
17
  local ____ReadonlySet = require("src.types.ReadonlySet")
18
18
  local ReadonlySet = ____ReadonlySet.ReadonlySet
19
19
  local ____Feature = require("src.classes.private.Feature")
@@ -95,11 +95,11 @@ function DisableInputs.prototype.disableAllInputsExceptFor(self, key, whitelist)
95
95
  end
96
96
  __TS__DecorateLegacy({Exported}, DisableInputs.prototype, "disableAllInputsExceptFor", true)
97
97
  function DisableInputs.prototype.disableMovementInputs(self, key)
98
- self:enableAllInputsExceptFor(key, MOVEMENT_ACTIONS_SET)
98
+ self:enableAllInputsExceptFor(key, MOVEMENT_BUTTON_ACTIONS_SET)
99
99
  end
100
100
  __TS__DecorateLegacy({Exported}, DisableInputs.prototype, "disableMovementInputs", true)
101
101
  function DisableInputs.prototype.disableShootingInputs(self, key)
102
- self:enableAllInputsExceptFor(key, SHOOTING_ACTIONS_SET)
102
+ self:enableAllInputsExceptFor(key, SHOOTING_BUTTON_ACTIONS_SET)
103
103
  end
104
104
  __TS__DecorateLegacy({Exported}, DisableInputs.prototype, "disableShootingInputs", true)
105
105
  return ____exports
@@ -21,7 +21,7 @@ local SerializationType = ____SerializationType.SerializationType
21
21
  local ____deepCopy = require("src.functions.deepCopy")
22
22
  local deepCopy = ____deepCopy.deepCopy
23
23
  local ____frames = require("src.functions.frames")
24
- local isPastGameFrame = ____frames.isPastGameFrame
24
+ local isAfterGameFrame = ____frames.isAfterGameFrame
25
25
  local ____log = require("src.functions.log")
26
26
  local log = ____log.log
27
27
  local ____stage = require("src.functions.stage")
@@ -74,7 +74,7 @@ function SaveDataManager.prototype.____constructor(self, mod)
74
74
  self.inARun = true
75
75
  self.restoreGlowingHourGlassDataOnNextRoom = false
76
76
  loadFromDisk(nil, self.mod, self.saveDataMap, self.classConstructors)
77
- local isContinued = isPastGameFrame(nil, 0)
77
+ local isContinued = isAfterGameFrame(nil, 0)
78
78
  if not isContinued then
79
79
  restoreDefaultsForAllFeaturesAndKeys(nil, self.saveDataMap, self.saveDataDefaultsMap)
80
80
  end