User Tools

Site Tools


ros:expert_guides:disasmbounty

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ros:expert_guides:disasmbounty [2025/04/11 20:26] – created mariofan2468ros:expert_guides:disasmbounty [2025/05/23 22:50] (current) mariofan2468
Line 23: Line 23:
 ^ Loopless ''getTilemapAddress'' ^^ ^ Loopless ''getTilemapAddress'' ^^
 | Complexity: 1 | Rewrite the ''getTilemapAddress'' routine to no longer use a loop to add the ''tileY'' component to the calculated tilemap address. | | Complexity: 1 | Rewrite the ''getTilemapAddress'' routine to no longer use a loop to add the ''tileY'' component to the calculated tilemap address. |
 +| Difficulty: 2 | ::: |
 +
 +
 +^ No jump table in ''gamma_getSpeedVector'' ^^
 +| Complexity: 1 | Rewrite the ''gamma_getSpeedVector'' routine to no longer use a jump table to load a vector value into ''bc''. You should make a table to contain the vector values, and load the proper one from that table, depending on ''hEnemy.state''. |
 | Difficulty: 2 | ::: | | Difficulty: 2 | ::: |
  
Line 28: Line 33:
 ^ Demolition of the if tower in ''collision_samusHorizontal'' ^^ ^ Demolition of the if tower in ''collision_samusHorizontal'' ^^
 | Complexity: 2 | Rewrite the ''collision_samusHorizontal'' routine to not use 5 nested if statements to check background collision, to take up less bytes. ''collision_samusYOffset_A'', ''collision_samusYOffset_B'', ''collision_samusYOffset_C'' and ''collision_samusYOffset_D'' should all become unused variables and their labels should be removed from "SRC/ram/wram.asm". | | Complexity: 2 | Rewrite the ''collision_samusHorizontal'' routine to not use 5 nested if statements to check background collision, to take up less bytes. ''collision_samusYOffset_A'', ''collision_samusYOffset_B'', ''collision_samusYOffset_C'' and ''collision_samusYOffset_D'' should all become unused variables and their labels should be removed from "SRC/ram/wram.asm". |
 +| Difficulty: 3 | ::: |
 +
 +
 +^ ''gameMode_dying'' and ''gameMode_dead'' ^^
 +| Complexity: 3 | Combine ''gameMode_dying'' and ''gameMode_dead'' into a singular gameMode. |
 | Difficulty: 3 | ::: | | Difficulty: 3 | ::: |
  
ros/expert_guides/disasmbounty.1744403165.txt.gz · Last modified: by mariofan2468