![]() |
Routines |
| Prev: C4C3 | Up: Map | Next: C515 |
|
Used by the routine at HandleExtraLife.
Sets the number of pixels that the sprite of an object is moved by, in X and Y, from its position. There is an entry point for each of the sets of adjustments that are used, and the one that is used for an object depends on its sprite. The adjustment in X goes in L and the adjustment in Y goes in H.
|
||||||||
| SetPixelAdjustments | C4D3 | LD HL,$FEF8 | Set the adjustments of a tree wall, which are F8 in X and FE in Y. | |||||
| C4D6 | JR SetPixelAdjustments_Set | Jump to SetPixelAdjustments_Set. | ||||||
|
This entry point is used by the routines at HandleEndingSparkles, SpawnCauldronBubbles, HandleCauldronBubbles, HandleSpecialObjectInCauldron, HandleRepelSpell, HandlePlayerAppearing, HandleLastAppearingSparkle, HandleDeathSparkles, HandleVanishingObjectSparkles, HandleExtraLife, HandleObjectDroppedInCauldron and HandleSpecialObject.
The adjustments of sparkles and special objects: F4 in X and FC in Y.
|
||||||||
| SetPixelAdjustments_Sparkle | C4D8 | LD HL,$FCF4 | Set the adjustments. | |||||
| C4DB | JR SetPixelAdjustments_Set | Jump to SetPixelAdjustments_Set. | ||||||
|
This entry point is used by the routines at HandleGuardBottomHalf, HandleTransformation, HandleGhost, HandlePortcullis, HandleMovingPortcullis and HandleHumanLegs.
The adjustments of the bottom half of a guard or of a human: F4 in X and FA in Y.
|
||||||||
| SetPixelAdjustments_Legs | C4DD | LD HL,$FAF4 | Set the adjustments. | |||||
| SetPixelAdjustments_Set | C4E0 | JP StorePixelAdjustments | Set the adjustments of the object. | |||||
|
This entry point is used by the routines at HandleDroppingBlock, HandleCollapsingBlock, HandleBlockMovingEastWest, HandleSpikedBall, HandleSpikes, HandleBlock, HandleChest and HandleTable.
The adjustments of rocks and blocks: F0 in X and F8 in Y.
|
||||||||
| SetPixelAdjustments_Block | C4E3 | LD HL,$F8F0 | Set the adjustments. | |||||
| C4E6 | JR SetPixelAdjustments_Set | Jump to SetPixelAdjustments_Set. | ||||||
|
The adjustments of the bricks of graphic number 0A: EC in X and FF in Y.
|
||||||||
| SetPixelAdjustments_Bricks10 | C4E8 | LD HL,$FFEC | Set the adjustments. | |||||
| C4EB | JR SetPixelAdjustments_Set | Jump to SetPixelAdjustments_Set. | ||||||
|
This entry point is used by the routines at StartTransformation and HandleTransformation.
The adjustments of the bricks of graphic number 0B and of a transforming player: F4 in X and FE in Y.
|
||||||||
| SetPixelAdjustments_Bricks11 | C4ED | LD HL,$FEF4 | Set the adjustments. | |||||
| C4F0 | JR SetPixelAdjustments_Set | Jump to SetPixelAdjustments_Set. | ||||||
|
This entry point is used by the routines at HandleBouncingBall, HandleFireMovingEastWest, HandleFireMovingNorthSouth, HandleStationaryFire and HandleBallUpDown.
The adjustments of bricks of graphic numbers 0C to 0F, balls and fire: F8 in X and FC in Y.
|
||||||||
| SetPixelAdjustments_Ball | C4F2 | LD HL,$FCF8 | Set the adjustments. | |||||
| C4F5 | JR SetPixelAdjustments_Set | Jump to SetPixelAdjustments_Set. | ||||||
|
This entry point is used by the routine at HandleHumanTop.
The adjustments of F4 in X and F8 in Y.
|
||||||||
| SetPixelAdjustments_Wide | C4F7 | LD HL,$F8F4 | Set the adjustments. | |||||
| C4FA | JR SetPixelAdjustments_Set | Jump to SetPixelAdjustments_Set. | ||||||
|
This entry point is used by the routines at HandleGargoyle and HandleWulfLegs.
The adjustments of the legs of the wulf and of a gargoyle: F4 in X and F9 in Y.
|
||||||||
| SetPixelAdjustments_Wulf | C4FC | LD HL,$F9F4 | Set the adjustments. | |||||
| C4FF | JR SetPixelAdjustments_Set | Jump to SetPixelAdjustments_Set. | ||||||
|
This entry point is used by the routine at HandleWulfTop.
The adjustments of F4 in X and F4 in Y.
|
||||||||
| SetPixelAdjustments_Wider | C501 | LD HL,$F4F4 | Set the adjustments. | |||||
| C504 | JR SetPixelAdjustments_Set | Jump to SetPixelAdjustments_Set. | ||||||
|
This entry point is used by the routine at HandleCauldronBottom.
The adjustments of the bottom half of the cauldron: F0 in X and F4 in Y.
|
||||||||
| SetPixelAdjustments_Cauldron | C506 | LD HL,$F4F0 | Set the adjustments. | |||||
| C509 | JR SetPixelAdjustments_Set | Jump to SetPixelAdjustments_Set. | ||||||
|
This entry point is used by the routine at HandleGuardMovingEastWest.
The adjustments of a guard that moves east and west: F4 in X and 07 in Y.
|
||||||||
| SetPixelAdjustments_Guard | C50B | LD HL,$07F4 | Set the adjustments. | |||||
| C50E | JR SetPixelAdjustments_Set | Jump to SetPixelAdjustments_Set. | ||||||
|
This entry point is used by the routine at HandleGuardOrWizard.
The adjustments of the top half of a guard: F4 in X and 03 in Y.
|
||||||||
| SetPixelAdjustments_GuardTop | C510 | LD HL,$03F4 | Set the adjustments. | |||||
| C513 | JR SetPixelAdjustments_Set | Jump to SetPixelAdjustments_Set. | ||||||
| Prev: C4C3 | Up: Map | Next: C515 |