Help:Patching the motorcycle area checks: Difference between revisions

Jump to navigation Jump to search
m
<pre> -> armasm
imported>Leoetlino
imported>Leoetlino
m (<pre> -> armasm)
Line 66: Line 66:
Same climate based check as above, but done in a different RideMgr function. Just change:
Same climate based check as above, but done in a different RideMgr function. Just change:


<pre>.text:0000007100679650 TBNZ           W8, #0, loc_710067965C</pre>
<source lang="armasm">.text:0000007100679650 TBNZ            W8, #0, loc_710067965C</source>
to:
to:


<pre>.text:0000007100679650 B               loc_710067965C</pre>
<source lang="armasm">.text:0000007100679650 B               loc_710067965C</source>
=== Refusing to spawn when in a blacklisted climate ===
=== Refusing to spawn when in a blacklisted climate ===


Line 85: Line 85:
Patch:
Patch:


<pre>.text:0000007100679BA8                 CBZ             X0, loc_7100679BD8</pre>
<source lang="armasm">.text:0000007100679BA8                 CBZ             X0, loc_7100679BD8</source>
to:
to:


<pre>.text:0000007100679BA8                 B               loc_7100679BD8</pre>
<source lang="armasm">.text:0000007100679BA8                 B               loc_7100679BD8</source>
so that the game always executes the code inside of the if block.
so that the game always executes the code inside of the if block.


Line 113: Line 113:
Change:
Change:


<pre>.text:000000710067B5FC                 CBZ             X0, loc_710067B62C</pre>
<source lang="armasm">.text:000000710067B5FC                 CBZ             X0, loc_710067B62C</source>
to:
to:


<pre>.text:000000710067B5FC                 B               loc_710067B62C</pre>
<source lang="armasm">.text:000000710067B5FC                 B               loc_710067B62C</source>
to make the game always return “true”.
to make the game always return “true”.


Anonymous user

Navigation menu