QNOVI [message #33110] |
Sun, 28 October 2007 23:05 |
|
Silverback
Messages: 170 Registered: July 2005 Location: Illinois
|
Cow Tipper
|
|
|
General notes add more stuff later.
Father / Hero - Interactions
Toggle Spoiler
Sub Location Purpose:
.text:00DB8BFD ;Initial Check routine.
.text:00DB8BFD 00DB8C56 mov ecx, [eax+54h] ;read our good deed variable (you can change to int and nop rest.
.text:00DB8BFD 00DB8C5B jnz loc_DB8D39 ; after a test (good deed) this calls routine
.text:00DB8BFD 00DB8C61 mov edx, [eax+58h] ;our money variable
.text:00DB8BFD 00DB8C66 jnz loc_DB8D39 ; after a money test this calls our routine
.text:00DB8BFD 00DB8CA7 jmp short loc_DB8CAB ;call you should do more speech if nothing has changed
.text:00DB8CAB ;This loads the text/speech for the father "TEXT_QST_048_DAD_DONE_NOTHING_YET"
.text:00DB8D39 ;called by both money and good deeds/ at the end calls reward routine
.text:00DB8D39 00DB8D51 mov ecx, [esi+1Ch] ;read good deeds?
.text:00DB8D39 00DB8D54 mov eax, [esi+14h] ; read money?
.text:00DB8D39 00DB8D57 mov eax, [eax+54h];read our good deed variable
.text:00DB8D39 00DB8D5A sub eax, ecx ; subtract deeds from gold?
.text:00DB8D39 00DB8D5C add ecx, eax ; give back the difference to gold earned
.text:00DB8D39 00DB8D77 jnz loc_DB8E38 ; if money != deeds call process that calls bad deed reward
.text:00DB8D39 00DB8DB5 jmp short loc_DB8DB9 ; call good reward sequence
.text:00DB8DB9 ;call good reward sequence TEXT_QST_048_DAD_GIVE_REWARD_JUST_GOOD
.text:00DB8DB9 00DB8DC7 jz loc_DB8EEA ; if you have enough money call enough money speech
.text:00DB8E38 ; leads to Bad Reward sequence
.text:00DB8E38 00DB8E74 jmp short loc_DB8E78 ; call bad reward
.text:00DB8E78 ;calls for TEXT_QST_048_DAD_GIVE_REWARD_PART_BAD to be said / displayed
.text:00DB8E78 00DB8E86 jz short loc_DB8EEA ; if you have enough money call enough money speech
.text:00DB8EEA ;check for chocolate
Barrel Man:
Toggle Spoiler
Sub Location Purpose:
text:00DB4FC0 Load Quest related data icon etc
text:00DB4FC0 00DB4FE3 push offset aHud_clock_icon ; "HUD_CLOCK_ICON" ;display icon
Teddy Bear / Bully
Cheating Man
Cutscene Data
Guard Interaction
[Updated on: Sun, 28 October 2007 23:07] Report message to a moderator
|
|
|