 |
 |
GoldenEye 007 Nintendo 64 Community, GoldenEye X, Nintendo 64 Games Discussion GoldenEye Cheats, GoldenEye X Codes, Tips, Help, Nintendo 64 Gaming Community
|
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
ShiftClick Agent

Joined: 16 Jun 2012 Posts: 111 Location: USA, Louisiana  |
Posted: Sat Jan 19, 2013 2:01 pm Post subject: Cycle Counters And Text |
 |
|
I've coded an action block like so for a guard:
0200 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
472001 If Distance Between Bond And Guard <Value> Value, Return Value Loop B4 (0001A4)
0104 Go To Beginning, Then Return Value Loop
0205 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
08 Briefly Aim At Bond But Do Not Fire
C3740A Display Text Preset - Man: Yes.* How do you know my name, and who are you?*
0206 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
B400025807 If Cycle Counter > Value, Return Value Loop B4 (000258)
0106 Go To Beginning, Then Return Value Loop
0207 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
08 Briefly Aim At Bond But Do Not Fire
C3740B Display Text Preset - Bond: The name's Bond, James Bond.*
0208 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
B400038409 If Cycle Counter > Value, Return Value Loop B4 (000384)
0108 Go To Beginning, Then Return Value Loop
0209 Resume If Return Value Loop Met
05FD0001 JAL To Function (Guard [whatever called it]) (JAL TO: 0001) End Routine (Loop forever)
04 Terminator
---
(The JAL To Function: Loop Forever, is just to stop the code for testing.)
Explanation: Basically, the beginning of the code is for the guard to check if it is within Bond's proximity, and if it is, then walk to a specific preset.
The rest is just for conversation.
Problem: After is displays the first text preset, and starts the cycle counter to create a pause, it never displays the rest of the text presets after the cycle counter counts over a certain value.
 _________________ YouTube Channel: http://Youtube.com/Peep5167
---
Completed Levels: Missile Facility, Research Complex, Prison, Infiltration |
|
|
|
|
|
 |
 |
 |
 |
 |
SubDrag Administrator

Joined: 16 Aug 2006 Posts: 6169
 |
Posted: Sat Jan 19, 2013 2:27 pm Post subject: |
 |
|
You're missing the Reset/Enable Cycle Counter action. Probably do that after here:
C3740A Display Text Preset - Man: Yes.* How do you know my name, and who are you?* |
|
|
|
|
|
 |
 |
 |
 |
 |
ShiftClick Agent

Joined: 16 Jun 2012 Posts: 111 Location: USA, Louisiana  |
Posted: Sat Jan 19, 2013 6:38 pm Post subject: |
 |
|
Thanks!  _________________ YouTube Channel: http://Youtube.com/Peep5167
---
Completed Levels: Missile Facility, Research Complex, Prison, Infiltration |
|
|
|
|
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
 |