There may be at maximum 5 magnet beams simultaneously active.
Note: All numbers in this section are decimal, not hexadecimal.
As long as the player holds B, the beam center is adjusted according to Rockman’s position.
- Beam Y position is set to Rockman’s Y position
- A temporary variable is calculated:
- Temp = (Beam_length_before_growth × 2 + 16)
- If(Temp & 7)==0, then Temp = Temp+8
- If Rockman looks to the right, then Beam X position = Rockman’s X position + Temp
- If Rockman looks to the left, then Beam X position = Rockman’s X position − Temp
For lengths 1-65, the X position of the beam is therefore adjusted in the following ways:
1:+24[1]M>32 17:+56[5]M>96 33:+88[9]M>160 49:+120[13]M>224 65:+152[17]M>288
2:+18[1]>26 18:+50[5]>90 34:+82[9]>154 50:+114[13]>218 65:+146[17]>282
3:+20[1]>28 19:+52[5]>92 35:+84[9]>156 51:+116[13]>220
4:+22[2]m>38 20:+54[6]m>102 36:+86[10]m>166 52:+118[14]m>230
5:+24[2]>40 21:+56[6]>104 37:+88[10]>168 53:+120[14]>232
6:+26[2]>42 22:+58[6]>106 38:+90[10]>170 54:+122[14]>234
7:+28[2]>44 23:+60[6]>108 39:+92[10]>172 55:+124[14]>236
8:+30[3]m>54 24:+62[7]m>118 40:+94[11]m>182 56:+126[15]m>246
9:+40[3]M>64 25:+72[7]M>128 41:+104[11]M>192 57:+136[15]M>256
10:+34[3]>58 26:+66[7]>122 42:+98[11]>186 58:+130[15]>250
11:+36[3]>60 27:+68[7]>124 43:+100[11]>188 59:+132[15]>252
12:+38[4]m>70 28:+70[8]m>134 44:+102[12]m>198 60:+134[16]m>262
13:+40[4]>72 29:+72[8]>136 45:+104[12]>200 61:+136[16]>264
14:+42[4]>74 30:+74[8]>138 46:+106[12]>202 62:+138[16]>266
15:+44[4]>76 31:+76[8]>140 47:+108[12]>204 63:+140[16]>268
16:+46[5]m>86 32:+78[9]m>150 48:+110[13]m>214 64:+142[17]m>278
Note: The second “65” is when the beam no longer grows. The number in [brackets] is the beam length in units.
- Add 1 and multiply by 16 to get the carrying width of the beam.
- 32 at minimum, 272 at maximum.
- The game actually uses half of this value (range for each side from the center of the beam), so it does not overflow even when ≥ 256.
- m = nearest distance of beam for each length (important when operating on next screen (different than displayed
- M = biggest distance of beam (often the optimal choice for zipping)
- >number = location of the far end of the beam