Home › Forums › Destiny of an Emperor › Destiny of an Emperor RH Guide ( MOVED! to http://doaerhguide.wikidot.com )
Tagged: Battles, Destiny of an Editor, Destiny of an Emperor, Destiny of an Emperor hacking, Destiny of an Emperor Mods, Destiny of an Emperor Rom, DoaE rom, DoaE Rom hacking, FCEUX, Feidian, Graphics, hacking DoaE, Map, NES ROM hacking, nes8 template, Portraits, ROM Hacking, ROM hacking information
- This topic has 985 replies, 17 voices, and was last updated 2 years, 9 months ago by
MiDKnighT.
-
AuthorPosts
-
July 30, 2012 at 4:29 pm #40155
MiDKnighT
ModeratorNew tactics added to the guide. Also moved Lud's Qi Shou version of AGI attacks.
August 1, 2012 at 8:27 pm #40156MiDKnighT
ModeratorQuote:Hey, just thought I'd put this out here. I used a cheat code to gain max levels quickly and seen how the values are being used, I figured telling what order their used would make it easier to see what's happening.Anyways let's say you have 20,18,16,14,12 for soldier growth values. From levels 1-20 it uses the first value of 20, it uses it twice, then at 21 it uses the 2nd value 18, then at 31 it uses the 3rd value 16, at 41 it uses the 4th value 14, and then completely omits the final value.
So basically it uses the first value twice then proceeds from where it should starting at the 2nd value until the last one which is the 4th, omitting the final value because all levels will have been reached by then.
Just thought I would put this here as It might help somebody knowing it does this. See ya around.
Quote:Did some digging on this. Here's the main code in play:Level Up:
00:B471:B9 A8 60 LDA $60A8,Y @ $6151 = #$00 <– Get general ID
00:B474:A8 TAY
00:B475:A9 07 LDA #$07
00:B477:20 C8 E3 JSR $E3C8 <– Gets level progression using general ID.
…
00:E3DA:B1 F3 LDA ($F3),Y @ $B90D = #$8A <– Guan Yu's level progression value
…
00:B47A:30 2C BMI $B4A8 <– Go to B4A8
00:B4A8:29 7F AND #$7F <– For Guan Yu converted 8A to 0A
00:B4AA:A8 TAY
…
…
…
00:B500:86 25 STX $0025 = #$0F
00:B502:B9 50 B5 LDA $B550,Y @ $B55A = #$24 <– Read level up value
I trade it leveling up to level 12 and it was still using the first value. I'll have to trade at a higher level to see how/when it uses a bigger number.
This is fixed.
Levels to switch progressions are at 0x3B534: 0A 14 1E 28
My fix overwrote the first value (0A) so we didn't switch progressions until level 20 :-(
So to fix I moved things around slightly to get the "0A" back in place.
Here's the fix:
0x37530: EAEAEAEAEA
0x3B4B0:
9D626120FBC407B5297FA84C1DB500A2
0x3B524:
8AA6254CD9B40000A5104CAFB4A90D20
82C400000A141E28AE7360CA8610A900
August 1, 2012 at 10:32 pm #40158MiDKnighT
ModeratorIPS patch is updated with level based tactic damage, guard enhancement, soldier progression fix, defend enhancement.
August 2, 2012 at 1:36 pm #40160MiDKnighT
ModeratorAdded to Lud's topic of each general having their own tactics. If you want to completely remove having a tactician. Current TP = Max TP (after an inn) and "STRAT" is removed from the menu:
0x3B850:
EAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAADF861
0x38375:
EAEAEAEAEA
0x39741:
0A0A0A0A0A0A
0x3EA0B:
FFFFFFFFFFFF
August 2, 2012 at 7:21 pm #40163sonic.penguin
ModeratorCool beans, this would mean that you could actually USE your smartest people in battle right? Hmm, will have to try it out.
August 2, 2012 at 8:56 pm #40164MiDKnighT
ModeratorQuote:Cool beans, this would mean that you could actually USE your smartest people in battle right? Hmm, will have to try it out.Exactly. No more Zhuge Liang sitting on his cushy chair behind the battle. If you want his tactics he'll have to participate in the front 5.
August 2, 2012 at 11:46 pm #40165MiDKnighT
ModeratorI just found something. It seems the game thinks that anything in slot 01 is a water tactic so you get that "Sorry you need to be near a river" message. To disable that just set:
0x39EC6: 01->FF
August 2, 2012 at 11:46 pm #40166MiDKnighT
ModeratorI just found something. It seems the game thinks that anything in slot 01 is a water tactic so you get that "Sorry you need to be near a river" message. To disable that just set:
0x39EC6: 01->FF
August 3, 2012 at 12:55 am #40167DragonAtma
ModeratorAnd presumably, changing that would also change what tactic needs to be near water.
August 3, 2012 at 2:13 am #40168sonic.penguin
ModeratorI actually noticed that myself when testing some tactic stuff. Granted, changing it would also imply you would have to change what tactics enemies use then unless they still only use slot 01 near water.
August 4, 2012 at 4:10 pm #40171MiDKnighT
ModeratorQuote:I just found something. It seems the game thinks that anything in slot 01 is a water tactic so you get that "Sorry you need to be near a river" message. To disable that just set:0x39EC6: 01->FF
Quote:Granted, changing it would also imply you would have to change what tactics enemies use then unless they still only use slot 01 near water.Solution:
0x3A90D: EAEAEAEAEA
Why the solution works:
00:A8F6:BD 97 A8 LDA $A897,X @ $A89A = #$06
00:A8F9:85 F4 STA $00F4 = #$7F <– Look at tactic, see if it is slot 00
00:A8FB:D0 07 BNE $A904 <– If not, skip ahead
00:A8FD:AE 20 62 LDX $6220 = #$00 <– Check if we are near water (01 = yes)
00:A900:F0 02 BEQ $A904 <– If not near water, skip ahead
00:A902:E6 F4 INC $00F4 = #$7F <– Increase to slot 01 (water)
So the solution just removes these 2:
00:A8FD:AE 20 62 LDX $6220 = #$00 <– Check if we are near water (01 = yes)
00:A900:F0 02 BEQ $A904 <– If not near water, skip ahead
So from a tactic perspective, the enemy thinks they are always near water so they will use slot 01. If I recall they will still use slot 00 (fire tactics) but just not as much. They will mix between slot 00 (fire) and slot 01 (water).
August 4, 2012 at 4:11 pm #40172MiDKnighT
ModeratorLet me know if that shuts out fire tactics too much and I can come up with another solution.
August 4, 2012 at 4:12 pm #40173MiDKnighT
ModeratorLet me know if that shuts out fire tactics too much. If so I can come up with something else.
August 4, 2012 at 5:52 pm #40174MiDKnighT
ModeratorSorry I had a typo – it should be 0x3A90D: EAEAEAEAEA
August 4, 2012 at 8:55 pm #40175DragonAtma
ModeratorBefore the whole tactic revamp, I suggested having fire be exclusively stronger but one-target, water exclusively weaker but all-target, and both allowed everywhere.
That'd still probably be a good idea. Now, all we need is to prevent the code from worshipping EA so much. :Þ
-
AuthorPosts
- You must be logged in to reply to this topic.

